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.

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

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

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

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

Solution (Python):

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

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

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

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

Solution (Python):
r, g, b = map(str, input().split())
li = r + g + b

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

Solution (Python):
rgb = list(map(int, input().split()))

l = ''.join(str(n) for n in rgb)
if int(l)%4 == 0:
    print('YES')
else:
    print('NO')

Solution (Python):
r, g, b = map(int, input().split())
N = 10*g + b

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

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

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

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

N = r * 100 + g * 10 + b

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

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

a = r + g + b

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

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

ans = [r,g,b]
ans = ''.join(ans)
if int(ans) % 4 == 0:
  print("YES")
else:
  print("NO")

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

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

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

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

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

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

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

Solution (Python):
if int(''.join(input().split()[1:])) % 4 == 0:
    print('YES')
else:
    print('NO')

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

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

Solution (Python):
n = ''

for s in input().split():
   n += s

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

Solution (Python):

r,g,b=map(int,input().split())
num=int(str(r)+str(g)+str(b))
if (1<=r and r<=9) and (1<=g and g<=9) and(1<=b and b<=9):
    if num % 4 == 0:
        print('YES')
    else:
        print('NO')

Solution (Python):
R,G,B = list(map(int,input().split()))
X = int(str(R)+str(G)+str(B))
if X%4==0:
    print("YES")
else:
    print("NO")

Solution (Python):

[r,g,b] = list(map(int,input().split()))
dam=100*r + 10*g + 1*b

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

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

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

Solution (Python):

def main():
    r, g, b = input().split()
    rgb = r+g+b

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



if __name__ ==  "__main__":
    main()

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

ans = int(r+g+b)

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

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

result = int("{}{}{}".format(r,g,b))
if result % 4 == 0:
    print('YES')
else:
    print('NO')

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

Solution (Python):

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ans = int(r) * 100 + int(g) *10 + int(b)

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

Solution (Python):
num = input().replace(' ', '')

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

Solution (Python):
import sys



def input():
    return sys.stdin.readline().strip()


def input_int():
    return int(input())


def input_int_list():
    return [int(i) for i in input().split()]


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


if __name__ == "__main__":
    main()

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

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

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

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

Solution (Python):
a=input().split()
b=''.join(a)

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

Solution (Python):

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



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

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

Solution (Python):
import sys

readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


def main():
    a, b, c = input().split()
    x = int(a + b + c)

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


if __name__ == '__main__':
    main()

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

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

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

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

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

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

ans = int(r+g+b)

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

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

Solution (Python):



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

i = int(r + g + b)
result = 'NO'

if i % 4 == 0:
    result = 'YES'

print(result)

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

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

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

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

Solution (Python):


r, g, b = map(int, input().split())
answer = 100 * r + 10 * g + b

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

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

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

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

Solution (Python):





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

answer = int(r + g + b)

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

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

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

Solution (Python):











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


input_rgb = r * 100 + g * 10 + b
result = "ret"

if input_rgb % 4 == 0:
    result = "YES"
else:
    result = "NO"

print(result)

Solution (Python):

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


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

Solution (Python):
r, g, b = (int(x) for x in input().split())


s = 100*r+10*g+b

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

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

sumstr = r + g + b
sumint = int(sumstr)

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

Solution (Python):

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


RGB = r + g + b


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

Solution (Python):




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

if 1 <= r <=9 and 1 <= g <=9 and 1 <= b <=9 and (100 * r + 10 * g + b) %   4 == 0: 
    print('YES')

else:
    print('NO')

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

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

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

Solution (Python):
a, b, c = input().split()
n = int(a+b+c)

print('NO') if n % 4 else print('YES')

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

number = int(r + g + b)

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

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

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

answer = r * 100 + g * 10 + b

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

Solution (Python):




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


answer = r * 100 + g *10 + b


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

Solution (Python):

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


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

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

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

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

Solution (Python):

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


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

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

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

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

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

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

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

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

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

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

Solution (Python):



def main():
    x, y, z = input().split()
    num = int(x + y + z)
    if num % 4:
        print("NO")
    else:
        print("YES")


if __name__ == "__main__":
    main()

Solution (Python):



def main():
    x, y, z = input().split()
    num = int(x + y + z)
    if num % 4:
        print("NO")
    else:
        print("YES")


if __name__ == "__main__":
    main()

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

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

Solution (Python):


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

sum = r * 100 + g * 10 + b

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

Solution (Python):


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

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

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

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

num = int(r + g + b)
rem = num % 4

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

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

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

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

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

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

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



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

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

Solution (Python):

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

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

Solution (Python):
import sys, re
from math import ceil, floor, sqrt, pi, factorial, gcd
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left, bisect_right
from functools import reduce
from decimal import Decimal, getcontext

def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_str(N): return [s_list() for _ in range(N)]
def s_row_list(N): return [list(s_input()) for _ in range(N)]
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7
num_list = []
str_list = []

def main():
    r, g, b = i_map()

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

if __name__ == '__main__':
    main()

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

Solution (Python):
c = input().split()
C = int(''.join(c))

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

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

Solution (Python):
print('NYOE S'[int(''.join(input().split()))%4==0::2])

Solution (Python):
a,b,c=input().split();print('NYOE S'[int(a+b+c)%4==0::2])

Solution (Python):
S_list = list(map(int,input().split()))

r, g, b = S_list[0], S_list[1], S_list[2]
if (10 * g + b) % 4 == 0 :
    result = "YES"
else:
    result = "NO"
print(result)

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

Solution (Python):
S_list = list(map(int,input().split()))

r, g, b = S_list[0], S_list[1], S_list[2]
if (100 * r + 10 * g + b) % 4 == 0 :
    result = "YES"
else:
    result = "NO"
print(result)

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

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

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

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

Solution (Python):













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




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





if integer_rgb % 4 == 0:
    answer = "YES"
else:
    answer = "NO"


print(answer)

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


if int(r+g+b)%4==0:

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

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

Solution (Python):

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


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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):

red_num, green_num, blue_num = map(str, input().split())


join_three_num = red_num + green_num + blue_num


three_digit_int = int(join_three_num)

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

Solution (Python):
R,G,B=map(str,input().split())
ans="NO"
num=int(R+G+B)
if num%4==0:
    ans="YES"
print(ans)

Solution (Python):

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

answer = r * 100 + g * 10 + b

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

Solution (Python):

a, b, c = map(str, input().split())
num = int(a + b + c)

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

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

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

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

Solution (Python):

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

Solution (Python):
[a,b,c]=[i for i in input().split()]
if int(a+b+c) % 4 == 0:
  print("YES")
else:
  print("NO")

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

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

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

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

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

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

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

Solution (Python):
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')

Solution (Python):
a, b, c = input().split()
d = a+b+c
e = int(d)

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

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

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

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

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

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

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

sum = 100*r + 10*g + b

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

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

Solution (Python):



import sys
from io import StringIO
import unittest


def input():
    return sys.stdin.readline().rstrip()


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """4 3 2"""
        output = """YES"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """2 3 4"""
        output = """NO"""
        self.assertIO(input, output)


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


if __name__ == "__main__":
    
    resolve()

Solution (Python):



import sys
from io import StringIO
import unittest

def input():
    return sys.stdin.readline().rstrip()

class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """4 3 2"""
        output = """YES"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """2 3 4"""
        output = """NO"""
        self.assertIO(input, output)


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


if __name__ == "__main__":
    
    resolve()

Solution (Python):



import sys
from io import StringIO
import unittest


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """4 3 2"""
        output = """YES"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """2 3 4"""
        output = """NO"""
        self.assertIO(input, output)


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


if __name__ == "__main__":
    
    resolve()

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

s = r * 100 + g * 10 + b

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

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

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

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

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

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

Solution (Python):
s_val = "".join(input().split())
i_val = int(s_val)

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

Solution (Python):
vals = input().split()
s_val = ""
for v in vals:
  s_val = s_val + v
 
i_val = int(s_val)

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

Solution (Python):
def main():
    r, g, b = input().split()

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

  
if __name__ == "__main__":
  main()

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

N = r * 100 + g * 10 + b

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

Solution (Python):
print(["NO","YES"][int(input()[2::2])%4==0])

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

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

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

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

Solution (Python):
import sys

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


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


if __name__ == '__main__':
    main()

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

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

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

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

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

Solution (Python):
import sys
def input(): return sys.stdin.readline().strip()

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

if __name__ == "__main__":
    main()

Solution (Python):










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

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

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

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

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

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

t = int(r+g+b)

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

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

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

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

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

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

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

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

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

else:
    print("NO")

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

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

Solution (Python):
r,g,a = map(int, input().split())


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

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

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

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

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

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

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

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

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

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

S = 100 * a + 10 * b + c

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

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

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

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

rgb = 100*r + 10*g + b

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