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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def func(a, b ,c):
    number = int(a + b + c)
    result = 'YES' if number % 4 == 0 else 'NO'
    return result

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

print(func(r,  g, b))

Submission status: Accepted

Solution code:
def func(a, b ,c):
    number = a + b + c
    result = 'YES' if int(number) % 4 == 0 else 'NO'
    return result

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

print(func(r,  g, b))

Submission status: Accepted

Solution code:
nums = [i for i in input().split()]
if int("".join(nums))%4==0:
	print("YES")
else:
	print("NO")

Submission status: Accepted

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

r, g, b = args

n = int(r) * 100 + int(g) * 10 + int(b) * 1

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

Submission status: Accepted

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

r, g, b = args

n = int(r) * 100 + int(g) * 10 + int(b) * 1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r, g, b = [int(x) for x in input().split()]
result = 10*g+b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

d = b * 10 + c

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
from sys import stdin

a, b, c = [int(x) for x in stdin.readline().rstrip().split()]
r = (a * 100) + (b * 10) + c
if r % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
print("YES" if int(input()[0::2])%4==0 else "NO")

Submission status: Accepted

Solution code:
r,g,b = map(int, input().split(' '))
temp = 100 * r + 10 * g + b
if temp % 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:
from sys import stdin
n = stdin.readline().rstrip().split()
if int(n[0]+n[1]+n[2])%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 = input().split()
num = a + b + c
num = int(num)
if num % 4 == 0:
  print("YES")
else:
  print("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:
print(['NO','YES'][int(input().replace(' ',''))%4==0])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print('YES') if int(input().replace(' ', ''))%4==0 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:
# ABC 063 A - Restricted
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())

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sun Feb 24 02:00:50 2019

@author: yuta
"""

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

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:
n = list(map(int, input().split()))
n[0] *= 100
n[1] *= 10

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

Submission status: Accepted

Solution code:
a, b, c = [ int(x) for x in input().split() ]

x = 10 * b + c
ans = x % 4 == 0

print("YES" if ans else "NO")
print()

Submission status: Accepted

Solution code:
a=int("".join(input().split()))
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 = input().split()
rgb = int(r + g + b)
if(rgb%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:
print('YES' if int(input()[0:5:2])%4 == 0 else 'NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b,c = list(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 = 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((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 (r*100+g*10+b)%4==0 else "NO")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
""" AtCoder """

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:
l    = input().split()
r, g, b = map(int, l)

val = r * 100 + g * 10 + b
mod_4 = divmod(val, 4)
mod_4 = mod_4[1]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

val = g * 10 + b

if val % 4:
    print('NO')
else:
    print('YES')

Submission status: Accepted

Solution code:
n = [int(i) for i in input().split()]

if (n[0] * 100 + 10 * n[1] + n[2]) % 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('YES' if (100*r + 10*g + b) % 4 == 0 else 'NO')

Submission status: Accepted

Solution code:
# A
def getIntList(): return [int(x) for x in input().split()]
r,g,b = getIntList()
n = r*100+g*10+b
if n%4==0: print('YES')
else: print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list = input().split()
r = int(list[0])
g = int(list[1])
b = int(list[2])

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a=list(map(str,input().split()))
print("NO"if(int(a[1]+a[2]))%4!=0else"YES")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    r,g,b,=[i for i in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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 = [int(_) for _ in input().split()]

x = R * 100 + G * 10 + B

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

Submission status: Accepted

Solution code:
n=[int(i) for i in input().split()]
#print(n)
if (100*n[0]+10*n[1]+n[2])%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:
int_r, int_g ,int_b = map(int, input().split())

if (int_r * 100 + int_g * 10 + int_b) % 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:
a,b,c = list(map(int, input().split()))
s = 100*a + 10*b + c
if s%4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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


abc064_a()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stderr, setrecursionlimit
from functools import reduce
from operator import add
setrecursionlimit(2147483647)
def f(n=1):
    if n == 1:
        return [int(i) for i in input().split()]
    res = []
    for i in range(n):
        res.append([int(j) for j in input().split()])
    return res
def debug(*x, sep=" ", end="\n"):
    for item in x:
        stderr.write(str(item))
        stderr.write(sep)
    stderr.write(end)

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

Submission status: Accepted

Solution code:
#A RGB Cards
x,y,z = map(int,input().split())
if (y*10+z) %4 ==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = input().split()
d = int(a+b+c)
print("YES") if d % 4 == 0 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:
temp = input().rstrip().split(" ")
r = temp[0]
g = temp[1]
b = temp[2]
ans = int(r+g+b)
if ans % 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:
def main():
    r, g, b = map(int, input().split())
    s = r * 100 + g * 10 + b
    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())
res = 100*r+10*g+b
if res%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:
S=int(input().replace(" ",""))
if S%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
r, g, b = [int(i) for i in 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('NO'if(2*b+c)%4>0else'YES')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
r,g,b = map(int,raw_input().split())
r=r*100
g=g*10
b=b
score = r+g+b
if score%4==0:
  print 'YES'
else:
  print 'NO'

Submission status: Accepted

Solution code:
from statistics import mean, median,variance,stdev
import sys
import math

x = input().split()
#y = input().split()
a= []
for i in range(len(x)):
    a.append(int(x[i]))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r,g,b = input().split()
rgb = int(r+g+b)
print("YES") if rgb%4==0 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:
# -*- coding: utf-8 -*-
r,g,b =map(str, input().split())
S = r+g+b
T = int(S)
if T % 4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
r,g,b=[int(i) for i in 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())
g=int(str(b)+str(c))
if g%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 (g * 2 + 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:
s = input()
if int(''.join(s.split(" "))) % 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 = [ int(i) for i in input().split()]
if (r*100+g*10+b)%4:
    print("NO")
else:
    print("YES")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == "__main__":
    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())
rgb = r * 100 + g * 10 + b
if rgb % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

a = int(''.join(l))

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

Submission status: Accepted

Solution code:
a = int(''.join(input().split()))
if a%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:
a=input().strip().split(" ")

b=[int(i) for i in a]

c=100*b[0]+10*b[1]+b[2]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

res = int(R+G+B)

if res % 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, raw_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(int,input().split())

answer = r*100 + g*10 + b

if answer % 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 (10*g+b)%4 == 0:
        print('YES')
else:
        print('NO')

Submission status: Accepted

Solution code:
rgb = int("".join(raw_input().split()))

print "YES" if rgb % 4 == 0 else "NO"

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
_,a,b=map(int,input().split())
print('YNEOS'[(a*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:
s = input().replace(" ", "")
print("YES" if int(s)%4 == 0 else "NO")

Submission status: Accepted

Solution code:
# coding: utf-8

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

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

print(answer)

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()
num = g + b
n = int(num)
if n%4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
a=input()
n=int(a.replace(' ',''))

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

Submission status: Accepted

Solution code:
data = input().split()
s = data[0] + data[1] + data[2]
if int(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 = input().split()
if int(r+g+b)%4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
r, g, b = list(map(int, input().split()))
if (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 = input().split()
rgb = int("".join([r, g, b]))
print("YES" if rgb%4==0 else "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()
n = int(r + g + b)
if n % 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
if a % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = input().split()
d = a+b+c
e = float(int(d))
if e%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)%4
if A==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())
#判定
a = 100 * r + 10 * g + b

if a % 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_str, g_str, b_str = input().split(" ")

print("YES" if int(g_str+b_str)%4 == 0 else "NO")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int("".join(input().split()))
print(["NO", "YES"][s % 4 == 0])

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 = [int(i) for i in input().split()]
print('YES' if (100*r+10*g+b)%4 == 0 else 'NO')

Submission status: Accepted

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