Problem:


Score : 100 points

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.

Sample Input 1

4 3 2

Sample Output 1

YES

432 is a multiple of 4, and thus YES should be printed.

Sample Input 2

2 3 4

Sample Output 2

NO

234 is not a multiple of 4, and thus NO should be printed.



Sample input:
4 3 2


Sample output:
YES

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
if (g * 10 + b) % 4 == 0:
  ans = "YES"
else:
  ans = "NO"
print(ans)

Submission status: Accepted

Solution code:
def main():
    r,g,b=map(int,input().split(' '))
    if (r*100+g*10+b)%4==0:
        print('YES')
    else:
        print('NO')
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
rgb = ''.join(input().split())

if int(rgb) % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
x,a,b = map(int,input().split())
if (((100*x)+(10*a)+(b))% 4) == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
print('YES' if (100*r+10*g+b)%4==0 else 'NO')

Submission status: Accepted

Solution code:
n = int("".join(input().split()))
if n % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

e = a*100+b*10+c
if e%4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
r,g,b=map(int,input().split())
print('YES' if (g*2+b)%4==0 else 'NO')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

r, g, b = map(int, input().split())

rgb = str(r)+str(g)+str(b)

n = int(rgb)

if n%4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
r, g, b = input().split()
a = int(r + g + b)
if a % 4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
rgb = 100 * r + 10 * g + b
if rgb % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
if (100*a+10*b+c)%4==0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    a,b,c=INTM()
    if (a*100+b*10+c)%4 == 0:
        print('YES')
    else:
        print('NO')
if __name__ == '__main__':
    do()

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
if (g*10+b)%4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
print("YES" if eval(input().replace(" ",""))%4 == 0 else "NO")

Submission status: Accepted

Solution code:
r,g,b=map(int,input().split())
num = r*100+g*10+b
if num%4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
if (int("".join(list(map(str,input().split())))) )%4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
r, b, g = map(int, input().split())

rgb = r * 100 + b * 10 + g
if rgb % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())

x = (r * 100) + (g * 10) + b

if x % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
if (10*g + b) % 4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
if int(''.join(input().rstrip().split())) % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
r,g,b = map(int, input().split())

num = str(r)+str(g)+str(b)

if int(num)%4==0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
r,g,b= map(int, input().split())
a = r*100+g*10+b
print('YES' if a %4==0 else 'NO')

Submission status: Accepted

Solution code:
r, g, b = input().split()
rgb = int(r+g+b)
if rgb % 4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
def resolve():
    rgb = int(input().replace(" ", ""))
    print("YES" if rgb % 4 == 0 else "NO")


if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:
#coding:utf-8

r, g, b = map(int, input().split())

num = 100 * r + 10 * g + b

if num % 4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
print('NO' if (a*100+b*10+c)%4 else 'YES')

Submission status: Accepted

Solution code:
#RGBJを受け取る場所を作る
li = list(map(int,input().split()))
#下２桁を受け取る

b = li[1] * 10 + li[2]

if b%4 == 0:
    print('YES')
else :
    print('NO')

Submission status: Accepted

Solution code:
x = int(''.join(input().split()))
if x % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
#ABC064A
r, g, b = list(input().split())
n = int(r+g+b)
if (n%4 == 0): print("YES")
else: print("NO")

Submission status: Accepted

Solution code:
x = int("".join(input().split()))
print("YES" if x%4 == 0 else "NO")

Submission status: Accepted

Solution code:
r,g,b = input().split()
A = int(g+b)
#print(A)
if A%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
# 自分の回答
r, g, b = map(int, input().split())
ans = r * 100 + g * 10 + b
if ans % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
#複数の文字を入力
r,g,b=input().split()

#3桁の数を構成
N=r+g+b

#Nを数値に変換
N=int(N)

#4の倍数であるか判定
if N%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
r, g, b = input().split()

if int(g + b) % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
A,B,C =[int(x) for x in input().split()]
print("YES" if(A*100+B*10+C)%4==0 else "NO")

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
if (100*a+10*b+c)%4==0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
r, g ,b = input().split()
if int(r + g + b) % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
rgb = list(input().split())
rgb = ''.join(rgb)
rgb = int(rgb)
if rgb % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
def solve():
    r, g, b = list(map(int, input().split()))
    value = r*100 + g*10 + b
    if value % 4 == 0:
        print("YES")
    else:
        print("NO")

solve()

Submission status: Accepted

Solution code:
a,b,c=input().split()
print("YES" if int(a+b+c)%4==0 else "NO")

Submission status: Accepted

Solution code:
r,g,b = map(str, input().split())

n = r + g + b

if int(n) % 4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
   
r,g,b=map(int,input().split())

if (10*g+b)%4==0:
	print("YES")
else:
	print("NO")

Submission status: Accepted

Solution code:
s=list(input().split())
a=int(s[0])
b=s[1]
c=s[2]
total=b+c
if int(total)%4==0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
print(["YES","NO"][int(input().replace(" ",""))%4!=0])

Submission status: Accepted

Solution code:
r,g,b=map(int,input().split())

if (r*100+g*10+b)%4==0:
    print('YES')
else :
    print('NO')

Submission status: Accepted

Solution code:
print("YES" if eval(input().replace(" ","")) % 4 == 0 else "NO")

Submission status: Accepted

Solution code:
A = list(map(int, input().split()))
print('YES' if (A[1]*10+A[2])%4 ==0 else 'NO')

Submission status: Accepted

Solution code:
print('YES'*(int(input()[::2])%4==0)or'NO')

Submission status: Accepted

Solution code:
r, g, b = input().split()
if int(r + g + b) % 4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
s = a * 100 + b * 10 + c
r = "YES" if s % 4 == 0 else "NO"
print(r)

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())

if (10*g + b)%4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
r,g,b = map(int, input().split())

if (r * 100 + g * 10 + b) % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
d=10*b+c

if d%4==0:
  print("YES")
  
else:
  print("NO")

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
print('YES' if (r*100+g*10+b) % 4 == 0 else 'NO')

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())

if (100*r+10*g+b)%4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
# 入力を受け取る
r, g, b = map(int, input().split())

# 2の倍数かどうか判定する
num = r * 100 + g * 10 + b
if num % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
print('YES') if (100*r+10*g+b)%4 == 0 else print('NO')

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

def main():
    s = int(input().strip().replace(" ", ""))

    if s%4 == 0:
        print("YES")
    else:
        print("NO")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
x = 100*r +10*g + b
if x % 4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
r,g,b = input().split()
print("YES" if int(r+g+b) % 4 == 0 else "NO")

Submission status: Accepted

Solution code:
r, g, b = map(str, input().split())
print("YES" if int(r+g+b) % 4==0 else "NO")

Submission status: Accepted

Solution code:
r,g,b=map(int,input().split());print('YNEOS'[(g*10+b)%4>0::2])

Submission status: Accepted

Solution code:
S = input().split()
num = int("".join(S))
if num % 4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
r,g,b=map(int,input().split())
if (100*r+10*g+b)%4==0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
print("NO"if int(input().replace(" ", ""))%4 else"YES")

Submission status: Accepted

Solution code:
x=input().split()
r=int(x[0])
g=int(x[1])
b=int(x[2])
if (10*g+b)%4==0:
	print("YES")
else:
	print("NO")

Submission status: Accepted

Solution code:
r,g,b=input().split()
a=int(r+g+b)
print('YES' if a%4==0 else 'NO')

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if (a*100 + b *10 + c) % 4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
r, g, b = input().split()

if int(r+g+b)%4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
if (r*100 + g*10 + b) % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    r, g, b = map(int, input().split())
    num = 100 * r + 10 * g + b
    if num % 4 == 0:
        print("YES")
    else:
        print("NO")

Submission status: Accepted

Solution code:
r, g, b =map(int,input().split())

if (100*r+10*g+b)%4==0:print('YES')
else:print('NO')

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
print('YES') if (b*10+c) % 4 == 0 else print('NO')

Submission status: Accepted

Solution code:
r, g, b = input().split()

num = int(r + g + b)

if num % 4:
    print("NO")
else:
    print("YES")

Submission status: Accepted

Solution code:
n = [int(_) for _ in input().split()]
if len(n) == 3 and all(1 <= item <= 9 for item in n):
    print('YES' if 0 == (100 * n[0] + 10 * n[1] + n[2]) % 4 else 'NO')
else:
    print('hoge!')

Submission status: Accepted

Solution code:
s = input().replace(" ", "")
s = int(s)
if s % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
if (100*r + 10*g + b)%4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
print("NO") if (g*10+b)%4 else print("YES")

Submission status: Accepted

Solution code:
r,g,b = input().split()
rgb = r+g+b
print('YES' if int(rgb)%4==0 else 'NO')

Submission status: Accepted

Solution code:
import sys
import copy
import  math
import bisect
from collections import *
from operator import itemgetter
"""
from fractions import gcd
def lcm(x, y):
    return (x * y) // gcd(x, y)
"""
stdin = sys.stdin
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

li = input().split()
print('YES' if int("".join(li)) % 4 == 0 else 'NO')

Submission status: Accepted

Solution code:
r,g,b = (int(i) for i in input().split())

X = 100 * r + 10 * g + b

if X % 4 == 0:
    print('YES')
    
else:
    print('NO')

Submission status: Accepted

Solution code:
num = int(''.join(input().split()))
print('YES' if num % 4 == 0 else 'NO')

Submission status: Accepted

Solution code:
print("NO" if int((input().replace(" ", "")))%4 else "YES")

Submission status: Accepted

Solution code:
r, g, b = input().split()
rgb = int(r + g + b)

if rgb % 4 == 0:
    print("YES")

else:
    print("NO")

Submission status: Accepted

Solution code:
r,g,b=map(int,input().split())
if (100*r+10*g+b)%4 == 0:
    print("YES")
else: print("NO")

Submission status: Accepted

Solution code:
rgb = int(input().replace(" ", ""))

if (rgb % 4) == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
num = 100*r + 10*g + b
if num %4 ==0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
r,g,b=map(int,input().split())
if (100*r+10*g+b)%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a,b,c = map(str, input().split())
d = int(a+b+c)
if d%4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
r,g,b=map(int,input().split())
s=100*r+10*g+b
if s%4 ==0:
	print('YES')
else:
	print('NO')

Submission status: Accepted

Solution code:
r,g,b = map(int, input().split())

s = 100*r + 10*g + b

if s%4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
add = str(r) + str(g) + str(b)
add = int(add)

if add%4 == 0:
	print("YES")
else:
	print("NO")

Submission status: Accepted

Solution code:
a, b, c = input().split()
if int(a + b + c) % 4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split(' '))
print('YES' if (10 * g + b) % 4 == 0 else'NO')

Submission status: Accepted

Solution code:
a, b, c = input().split()
d = int(a+b+c)
if d % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
if (a*100+b*10+c)%4==0: print('YES')
else: print('NO')

Submission status: Accepted

Solution code:
r,g,b = input().split()
N = int(r+g+b)
if N%4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
print('YES' if int(input().strip().replace(' ','')) % 4 == 0 else 'NO')

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())

if (r * 100 + g * 10 + b) % 4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
r, g, b=map(int, input().split())
print('YES' if (100*r+10*g+b)%4==0 else 'NO')

Submission status: Accepted

Solution code:
rgb = int(input().replace(' ', ''))
if rgb % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
r,g,b = map(int, input().split())
print('NO' if (10*g+b)%4 else 'YES')

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())

if (100*r + 10*g + b) % 4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
print("YES") if (10*g+b)%4==0 else print("NO")

Submission status: Accepted

Solution code:
color = list(map(str, input().split()))
print("YES" if int("".join(color)) % 4 == 0 else "NO")

Submission status: Accepted

Solution code:
def main():
    r, g, b = input().split()
    n = int(r + g + b)
    if n % 4 == 0:
        return "YES"
    return "NO"


if __name__ == '__main__':
    print(main())

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split());print("YES")if (10*int(b)+int(c))%4==0 else print("NO")

Submission status: Accepted

Solution code:
r,g,b = map(str,input().split())
rgb = int(r + g + b)
print("YES" if rgb%4==0 else "NO")

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())

x = (r * 100) +(g * 10) + b
if x % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
r,g,b=map(int, input().split())
a = 100*r + 10*g + b

if a%4 ==0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
print('YNEOS'[int(''.join(input().split()))%4>0::2])

Submission status: Accepted

Solution code:
n = list(map(int , input().split()))

if (n[0]*100 + n[1]*10 + n[2])%4 == 0:
    print('YES' )
else:
    print('NO')

Submission status: Accepted

Solution code:
r,g,b=map(int,input().split())

if (r*100+g*10+b)%4==0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
a,b,c=input().split()

four = b+c

if (int(four))%4 == 0:

  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
print("YES" if int(input().replace(" ", "")) % 4 == 0 else "NO")

Submission status: Accepted

Solution code:
r , g , b = input().split()
if int(r+g+b)%4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

r, g, b = map(int, input().split())

value = r * 100 + g * 10 + b

print("YES" if value % 4 == 0 else "NO")

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
x = 100*r + 10*g + b
if x % 4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
print('YES' if int(input().replace(' ', ''))%4 == 0 else 'NO')

Submission status: Accepted

Solution code:
r,g,b=map(int,input().split())

print("YES" if (100*r+10*g+b)%4==0 else "NO")

Submission status: Accepted

Solution code:
i = list(map(int, input().split()))
j = 100 * i[0] + 10 * i[1] + i[2]
if j % 4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
print('YES' if int(''.join(input().split())) % 4 == 0 else 'NO')

Submission status: Accepted

Solution code:
r, g, b = map(int,input().split())
if int(10 * g + b) % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
r,g,b=input().split()
x=int(g+b)
print('YES' if  x%4==0 else 'NO')

Submission status: Accepted

Solution code:
r, g ,b = (i for i in input().split())
num = int(r+g+b)
print("YES" if num%4 == 0 else "NO")

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
num = int(str(r)+str(g)+str(b))
if num % 4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
print("YES") if int("".join(input().split())) % 4 == 0 else print("NO")

Submission status: Accepted

Solution code:
line = input().split()
sum = line[0]+line[1]+line[2]
if int(sum)%4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a,b,c = map(str, input().split())

if int(a + b + c)%4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
print('YES' if (10*g+b)%4 == 0 else 'NO')

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
if (100*r + 10*g + b)% 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
r, g, b =map(int, input().split())
c = 10*g + b
if c%4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
r, g, b = input().split()
n = int(r+g+b)
if n%4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
x = list(map(int, input().split()))


if (x[1]*10+x[2])%4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a = int(''.join(input().split()))
print('YES' if a % 4 == 0 else 'NO')

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
if (r * 100 + g * 10 + b) % 4 == 0:print("YES")
else:print("NO")

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())

num = r * 100 + g * 10 + b

if num % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:


def main():

    
    print('YES') if int(''.join(input().split()))%4 == 0 else print('NO')

if __name__== "__main__":
    main()

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
print("NO" if (100*r+10*g+b)%4 else "YES")

Submission status: Accepted

Solution code:
a=list(input().split())
n=int("".join(a))
if n%4==0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
def resolve():
    a,b,c=map(int,input().split())
    print('YES' if int(str(a)+str(b)+str(c))%4==0 else 'NO' )
resolve()

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
print("YES" if (100*a+10*b+c)%4==0 else "NO")

Submission status: Accepted

Solution code:
a = int(input().rstrip().replace(' ', ''))
print('NO' if a%4 else 'YES')

Submission status: Accepted

Solution code:
r,g,b = map(str,input().split())

S = r + g + b

if int(S) % 4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
r, g, b = map(str,input().split())
rgb = int(r + g + b)
print("YES" if rgb % 4 == 0 else "NO")

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
print('YES' if (100*r+10*g+b)%4==0 else 'NO')

Submission status: Accepted

Solution code:
print("YES" if int(input().replace(" ", ""))%4 == 0 else "NO")

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
if (10*g + b)%4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
print('YES' if int(input().replace(' ', '')) % 4 == 0 else 'NO' )

Submission status: Accepted

Solution code:
print("YES" if int("".join(input().split())) % 4 == 0 else "NO")

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc064/tasks/abc064_a
a = int(input().replace(' ', ''))
if a % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a,b,c = input().split()
abc = int(a+b+c)
if abc%4==0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
n=a*100+b*10+c
if n%4==0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
def test():
    x = input().split()
    str = int("".join(x))
    print("YES" if str % 4 == 0 else "NO")


if __name__ == "__main__":
    test()

Submission status: Accepted

Solution code:
A=input().split()
B=A[0]+A[1]+A[2]
C=int(B)
if C%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a,s,d=map(int,input().split())
print("YES") if (10*s+d)%4==0 else print("NO")

Submission status: Accepted

Solution code:
r,g,b= input().split()
num = int(''.join([r,g,b]))
if num%4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
print('YES'if int(input().replace(' ',''))%4==0 else'NO')

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
print("YES" if (100*a + 10*b + c)%4 ==0 else "NO")

Submission status: Accepted

Solution code:
r,g,b = map(int, input().split())
if (g*10+b)%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
r,g,b = map(int, input().split())
if (r*100+g*10+b)%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
r,g,b = input().split()
print('YES 'if int(r+g+b)%4==0 else 'NO')

Submission status: Accepted

Solution code:
n = int("".join(list(map(str, input().split()))))
print("YES" if n % 4 == 0 else "NO")

Submission status: Accepted

Solution code:
r,g,b=input().split()
g=int(g)
b=int(b)
H=g*10+b

if H % 4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
def main():
    r,g,b = map(int,input().split())
    s=g*10+b
    if(s%4==0):
        print("YES")
    else:
        print("NO")
    
main()

Submission status: Accepted

Solution code:
#A-RGB Cards(ABC064)
r,g,b=map(int, input().split())
if (r*100+g*10+b)%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())  



print("YES") if (a*100 + b*10 + c) % 4 == 0 else print("NO")

Submission status: Accepted

Solution code:

A, B, C=map(int,input().split())

N = B * 10 + C
N %= 4

if N==0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
if (100 * r + 10 * g + b) % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
r,g,b = [int(i) for i in input().split()]

if (g*10+b)%4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
N=int(input().replace(" ",""))
print("NO" if N%4 else "YES")

Submission status: Accepted

Solution code:
n = int(input().replace(' ', ''))
print('NO' if n % 4 else 'YES')

Submission status: Accepted

Solution code:
rgb = input()

rgb = rgb.split()

r = int(rgb[0])*100
g = int(rgb[1])*10
b = int(rgb[2])

if (r + g + b)%4 == 0:
	print('YES')
else:
	print('NO')

Submission status: Accepted

Solution code:

print('YES' if int(input().replace(' ',''))%4==0 else 'NO')

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())

print(('YES' if (100*r + 10*g + b)%4 == 0 else 'NO'))

Submission status: Accepted

Solution code:
print("YES" if int(input().replace(" ",""))%4 ==0 else "NO")

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
a =  10*g + b
if a % 4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
a = 100*r + 10*g + b
if a % 4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
li = list(map(int,input().split()))
r = li[0]
g = li[1]
b = li[2]
ans = 100 * r + g *10 + b
if ans % 4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
r,g,b=map(int,input().split())

if (g*10+b)%4==0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
r , g , b= input().split()
res = r + g + b
if int(res) % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a,b,c=list(map(int,input().split()))
d=100*a+10*b+c
print("YES" if d%4==0 else "NO")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
INF = float("inf")


def yes():
    print("YES")  # type: str


def no():
    print("NO")  # type: str


def solve(r: int, g: int, b: int):
    if int(str(r)+str(g)+str(b)) % 4 == 0:
        yes()
    else:
        no()
    return


def main():

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    r = int(next(tokens))  # type: int
    g = int(next(tokens))  # type: int
    b = int(next(tokens))  # type: int
    solve(r, g, b)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
if (100*r + 10*g + b) % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:

r, g, b = input().split()
print('YES' if int(r+g+b) % 4 == 0 else 'NO')

Submission status: Accepted

Solution code:
r, g, b = input().split()
rgb = int(r + g + b)
if rgb % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
rgb = ''.join(input().split())
if int(rgb) % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
#064A
r,g,b = list(map(int,input().split()))
n = r*100 + g*10 + b
if n%4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

r, g, b = map(int, input().split())

if (r * 100 + g * 10 + b) % 4 == 0 :
    print('YES')
else :
    print('NO')

Submission status: Accepted

Solution code:
i=int(input().replace(" ",""))
print(("NO","YES")[i%4==0])

Submission status: Accepted

Solution code:
r,g,b=map(str,input().split())

s=r+g+b
if int(s) % 4==0 :
  print("YES")
else :
  print("NO")

Submission status: Accepted

Solution code:
r, g, b = map(int , input().split())

rgb = 100*r + 10*g + b

if (rgb % 4 == 0):
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a = int(input().replace(" ",""))
print ("YES" if a % 4 == 0 else "NO")

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
a = r*100 + g*10 + b
if a % 4 == 0:
    print('YES')
else:
    print("NO")

Submission status: Accepted

Solution code:
r,g,b = input().split()
if int(r+g+b)%4==0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split(" "))
n = r * 100 + g * 10 + b
if n % 4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
i = int("".join(input().split()))

if i % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
x,y,z =  map(str, input().split())
xyz = x+y+z
if int(xyz) % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
S = 100*a+10*b+c
print("YES" if S%4==0 else "NO")

Submission status: Accepted

Solution code:
r, g, b = list(map(int, input().split()))
if (r * 100 + g* 10 + b)%4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
r, g, b = input().split()
ret = "NO"
n = int(r+g+b)
if n % 4 == 0:
    ret = "YES"
print(ret)

Submission status: Accepted

Solution code:
r,g,b=(int(i) for i in input().split())
a = g*10+b
if a%4==0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
print("YES" if (r*100+g*10+b)%4 == 0 else "NO")

Submission status: Accepted

Solution code:
r,g,b = map(str, input().split())
s = int(r+g+b)

if s%4==0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
#ABC065
a,b,c = map(int,input().split())
if ( 100*a + 10*b + c ) % 4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
import sys

r,g,b = input().split()

if 1 > int(r) or 1 > int(g) or 1 > int(b) or 9 < int(r) or 9 < int(g) or 9 < int(b):
    sys.exit()

if int(r + g + b)%4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
print('YNEOS'[(g*10+b)%4!=0::2])

Submission status: Accepted

Solution code:
r,g,b = map(int, input().split())
if (100 * r + 10 * g + b) % 4 == 0:
         print("YES")
else:
         print("NO")

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
A = 100*a + 10*b + c

if A % 4 == 0:
    print('YES')
else:
    print('NO')