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:
def resolve():
	if int("".join(input().split())) % 4 == 0:
		print('YES')
	else:
		print('NO')
resolve()

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 =int(input().replace(' ', ''))
if a % 4 ==0:
  print('YES')
else:
  print('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())
n = 100*r + 10*g + b
if n % 4 == 0 :
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
#Rgb Cards

lst = list(input().split())
a = "".join(lst)
print("YES" if int(a) % 4 == 0 else "NO")

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
print("YES" if (b*10+c)%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:

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


if '__main__' == __name__:
    resolve()

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
if (10*b+c)%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:
A = list(input().split())

A = "".join(A)
A = int(A)

if A % 4 == 0:
    print("YES")
else:
    print("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())
print("YES" if int(rgb) % 4 == 0 else "NO")

Submission status: Accepted

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

Submission status: Accepted

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

A = a*100
B = b*10
C = A + B + c

if C % 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:
a,b,c=[int(i) for i in input().split()]
d=100*a+10*b+c
if d%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:
x, y, z = map(int,input().split())
if (10*y+z)%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(int, input().split())

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

Submission status: Accepted

Solution code:
a = list(map(int,input().split()))
num = 100*a[0]+ 10*a[1] + a[2]
if num %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 (g * 10 + b) % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin

data = stdin.readline().rstrip().split()

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

Submission status: Accepted

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

if int(ans)%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())
if (100 * r + 10 * g + b) % 4:
    print("NO")
else:
    print("YES")

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=10*g+b

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

Submission status: Accepted

Solution code:
r,g,b=map(str,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:
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:
r, g, b = map(str, input().split())
a = r + g + b

if int(a)%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:
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())
if (10*b+c)%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=map(int,input().split())
bb=g*10+b

if bb%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:
A = list(input().split())
a = int(''.join(A))
if a%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
r,g,b=map(int,input().split())
M=r*100+g*10+b
K=r*100
if (M-K)%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())

ans = a * 100 + b * 10 + c

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main(a, b, c):
    if (a * 100 + b * 10 + c) % 4 == 0:
        print('YES')
    else:
        print('NO')


a, b, c = [int(i) for i in input().split()]
main(a, b, c)

Submission status: Accepted

Solution code:
R,G,B = map(int,input().split())

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

# print(R,G,B)

# 少数:/
# 商://
# 余:%

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
R,G,B =map(str,input().split())
RGB=R+G+B
if int(RGB) %4 ==0:
	print('YES')
else:
	print('NO')

Submission status: Accepted

Solution code:
r, g, b = map(str, 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:
#--RGB Cards
a, b, c = map(int, input().split())

rgb = 100*a + 10*b + c

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().split()
p = [int(w) for w in s]

r = p[0]
g = p[1]
b = p[2]

t = r * 100 + g * 10 + b
if(t%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:
a,b,c = map(int,input().split())
if (10*b+c)%4 == 0:
  print('YES')
else:print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r,g,b=map(str,input().split())
s=r+g+b
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())
if (10*g+b)%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

if (10*b + c) % 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:
def main():
    r, g, b = input().split()
    number = int(r + g + b)

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

Submission status: Accepted

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

number = r * 100 + g * 10 + b

if number % 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:
a = input().split()
b = int("".join(a))
if b%4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
n = input().strip().split()
n = int(''.join(n))

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

Submission status: Accepted

Solution code:
#スペース区切りの整数を入力し連結
rgb_list = list(map(int, input().split()))
rgb_list = map(str, rgb_list) # join関数は文字列の結合をするからmap関数で型変換
rgb = ''.join(rgb_list)
# 4で割り切れるか
if int(rgb)%4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = int(''.join(input().split()))

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

Submission status: Accepted

Solution code:
n, m, k = map(int, input().split())
nmk = 100 * n + 10 * m + k
if nmk % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

figure = int(r+g+b)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r,g,b = map(str,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())
s = str(r) + str(g) + str(b)
if int(s) % 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:
a,b,c = map(int, input().split())
num=a*100+b*10+c
if num%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:
r,g,b = map(format, input().split())

if int(r+g+b) % 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:
r, g, b = input().split()
X = int(r+g+b)%4
if (X):
    print('NO')
else:
    print('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:
a,b,c = map(int,input().split())

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

Submission status: Accepted

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

a=a*100
b=b*10

num = a+b+c

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

Submission status: Accepted

Solution code:
print("YNEOS"[int(input()[::2])%4>0::2])

Submission status: Accepted

Solution code:
print("YNEOS"[min(int(input().replace(" ",""))%4,1)::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(str,input().split())
num = int(r+g+b)
if num % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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:
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=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())

n = 100*r + 10*g + b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=[int(i) for i in input().split()]
num=100*a+10*b+c

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 "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:
  print('NO')
else:
  print('YES')

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
if (b*10+c)%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
print('YES' if n%4==0 else 'NO')

Submission status: Accepted

Solution code:
r, g, b = [int(x) for x in 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=map(int,input().split())
x=100*r+10*g+b
if x%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
if int(''.join(input().split()))%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:
x,y,z = map(int,input().split())
y %= 4
if y == 0:
    if z % 4 ==0:
        print("YES")
        exit()
if y == 1:
    if z % 4 == 2:
        print("YES")
        exit()
if y == 2:
    if z % 4 == 0:
        print("YES")
        exit()
if y == 3:
    if z % 4 == 2:
        print("YES")
        exit()
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:
a,b,c=map(int,input().split())
x = b*10+c
if not x%4:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
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())
num = int(str(g)+str(b))
if num%4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

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

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:
# coding: utf-8

r, g, b = (int(x) for x in 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())
if (g*10+b)%4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

number = int(r+g+b)

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

Submission status: Accepted

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

if number%4 == 0:
    ans = 'YES'
else:
    ans = 'NO'

print(ans)

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc064/tasks/abc064_a

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())
num = 100*r + 10*g + b
if num % 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())

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

r, g, b = sys.stdin.readline().split()

def main():
    ans = 'YES' if not int(g + b) % 4 else 'NO'
    print(ans)

if __name__ ==  '__main__':
    main()

Submission status: Accepted

Solution code:
# ABC 064: A – RGB Cards
r, g, b = [int(s) for s in input().split()]
print('YES' if (g * 10 + b) % 4 == 0 else 'NO')

Submission status: Accepted

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

num = int(r+g+b)

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

Submission status: Accepted

Solution code:
def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
def ism():return map(str,input().split())
def isl():return list(map(str,input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    a = [str(i) for i in input().split()]
    ans = "".join(a)

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

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
sum = r * 100 + g * 10 + b
if sum % 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:
a,b,c=map(int,input().split())
x=100*a+10*b+c
if x%4==0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

#print(answer)

if answer%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())
sum = r + g + b
if int(sum) % 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:
r,g,b=map(int,input().split());print('YNEOS'[(10*g+b)%4!=0::2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input().split(" ")

n = int(n[0] + n[1] + n[2])

if n % 4 == 0:
    print("YES")
else:
    print("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:
a,b,c = map(int,input().split())

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
r, g, b = input().split()
sp = r + g + b
if int(sp) % 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:
r,g,b = input().split()
l = int(r+g+b)
print("YES" if l%4 == 0 else "NO")

Submission status: Accepted

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

if t%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:
r,a,b = input().split()
print('YES' if int(r+a+b)%4==0 else 'NO')

Submission status: Accepted

Solution code:

import math
import itertools
import statistics
#import collections

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

Submission status: Accepted

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

ans=r+g+b
print("YES"if int(ans)%4==0 else"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:
r,g,b=map(int,input().split())
print('YES' if (10*g+b)%4==0 else 'NO')

Submission status: Accepted

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

rgb = ''.join(rgb)

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

Submission status: Accepted

Solution code:
r, g, b = input().split()
num = int(r + g + b)
if num % 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(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:
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(str, input().split())
t=int(r+g+b)
if t%4==0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
import math

r,g,b=list(map(str, input().split()))

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

Submission status: Accepted

Solution code:
r,g,b = [int(x) for x in 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())

number=r*100+g*10+b

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

Submission status: Accepted

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

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:
r, g, b = map(str,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())

num = r * 100 + g * 10 + b

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

Submission status: Accepted

Solution code:
input_colors = input().split(' ')
number = ''
for i in range(3):
    number += input_colors[i]
    
if int(number)%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()

rgb = int(r+g+b)
rgb_2 = rgb%100

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

Submission status: Accepted

Solution code:
import sys
import os


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    S = int(sys.stdin.buffer.readline().decode().replace(' ', ''))
    print('YES' if S%4 == 0 else 'NO')


if __name__ == '__main__':
    main()

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:
import sys

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

main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:


lst = list(input().split())
a = "".join(lst)
print("YES" if int(a) % 4 == 0 else "NO")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
l = input().split()

if (int("".join(l)) % 4 == 0):
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
import sys

card = list(map(str, input().split()))

num = "" 
for i in range(len(card)):
    num += card[i]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r,g,b = map(str,input().split())
a = r+g+b
a=int(a)
if a%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 = map(int, raw_input() .split())
x = int(str(r) + str(g) + str(b))
if x % 4 == 0:
    print "YES"
else:
    print "NO"

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=int(input()[::2])
print('NO' if s%4 else 'YES')

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
z = int(str(a) + str(b)+str(c))
if z%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:
l = list(map(int,input().split()))
if (10*l[1]+l[2])%4==0:
  print('YES')
else:
  print('NO')