AtCoder Beginner Contest 064
翻译中…
Problem Statement
翻译中…
AtCoDeer has three cards, one red, one green and one blue.
An integer between $1$ and $9$ (inclusive) is written on each card: $r$ on the red card, $g$ on the green card and $b$ on the blue card.
We will arrange the cards in the order red, green and blue from left to right, and read them as a three-digit integer.
Is this integer a multiple of $4$?
翻译中…
Constraints
翻译中…
$1 ≤ r, g, b ≤ 9$
翻译中…
Input
翻译中…
Input is given from Standard Input in the following format:
翻译中…
r g b
翻译中…
Output
翻译中…
If the three-digit integer is a multiple of $4$, print YES (case-sensitive); otherwise, print NO.
翻译中…
样例
Input #1
4 3 2
Output #1
YES
$432$ is a multiple of $4$, and thus `YES` should be printed.
Input #2
2 3 4
Output #2
NO
$234$ is not a multiple of $4$, and thus `NO` should be printed.
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。