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

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

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

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

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

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

Solution (Python):
r, g, b = map(int, input().split())
x = 100*r + 10*g + b
if x%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):
import sys
stdin = sys.stdin

mod = 10**9 + 7

ns = lambda: stdin.readline().rstrip()
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))

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

Solution (Python):
import sys
sys.setrecursionlimit(10**9)
INF=10**18
MOD=10**9+7
def input(): return sys.stdin.readline().rstrip()

def main():
    n=int(''.join(input().split()))
    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):
print("YNEOS"[int(input().replace(" ",""))%4!=0::2])

Solution (Python):
def main():
    A = [i for i in input().split()]
    S = "".join(A)
    N = int(S)
    print("YES" if N % 4 == 0 else "NO")


if __name__ == '__main__':
    main()

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

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

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

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

num = 100 * r + 10 * g + b
if num % 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):
line=input().split()
num="".join(line)
print("YES" if int(num)%4==0 else "NO")

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

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

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

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

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

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

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

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

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

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

s = int(a+b+c)

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

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

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

Solution (Python):


nums = list(map(int, input().rstrip().split()))

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

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

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

Solution (Python):


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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
print('YNEOS'[int(input()[::2])%4>0::2])

Solution (Python):
print('YNEOS'[int(input().replace(' ',''))%4>0::2])

Solution (Python):
print('YNEOS'[int(input().replace(' ',''))%4>0::2])

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

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

Solution (Python):
r, g, b = input().split()
rgb = int(r + g + b)
result = rgb % 4

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

Solution (Python):
a,b,c=map(int,input().split())
print('YES') if (b*10+c) % 4 == 0 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):
print(["NO","YES"][int(input()[2::2])%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 = list(map(str, input().split()))
m = (r + g + b)
n = int(r + g + b)
if n % 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()
s = r+g+b
ans = int(s)
if ans%4==0:
    print("YES")
else:
    print("NO")

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

Solution (Python):
def four(r , g , b):

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

    return "YES" if ans % 4 == 0 else "NO"

def main():
    r , g ,b = map(int , input().split())
    print(four(r , g , b))

if __name__ == '__main__':
    main()

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

Solution (Python):

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


rgb = r + g + b

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

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

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


target = int("".join(map(str,input_text)))


if target%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()
r=int(r)
g=int(g)
b=int(b)

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

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

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

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

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

n = (10*g + b) % 4

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

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

Solution (Python):
N=list(map(int,input().split()))
M=0
for i in range(3):
  M+=N[i]*10**(2-i)
if M%4==0:
  print("YES")
else:
  print("NO")

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

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

Solution (Python):




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


if __name__ == "__main__":
    main()

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

if int(x) % 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())
1 <= r,g,b <= 9
sum = r*100 + g*10 + b
 
if sum % 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):
rgb = int(''.join( input().split() ))
print( 'YES' if rgb % 4 == 0 else 'NO' )

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

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

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

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

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

sum = 0
sum += r * 100 + g * 10 + b

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

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

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

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

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

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

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

Solution (Python):
"""
author : halo2halo
date : 30, Jan, 2020
"""

import sys
import itertools



read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

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

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

main()

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

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

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

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

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

Solution (Python):
a,b,c=map(str,input().split())
a+=b
a+=c
if int(a)%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):
s = int(''.join(input().split()))
print('NO') if s % 4 else print('YES')

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

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

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

Solution (Python):
print("YNEOS"[int(input().replace(" ", ""))%4!=0::2])

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

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

Solution (Python):
r, g, b = map(str, input().split())
print('YES') if int(r+g+b)%4==0 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):
def main():
    from sys import stdin, setrecursionlimit
    
    
    r = stdin.readline()[:-1]
    
    
    
    a = r.split()
    
    
    
    
    

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

if __name__ == '__main__':
    main()

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

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

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

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

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

Solution (Python):


nums = input().split()

num = int(''.join(nums))

answer = "YES" if num % 4 == 0 else "NO"

print(answer)

Solution (Python):
a = list(input().split())
b = int(''.join(a))
print('YES' if b%4 == 0 else '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 = map(int, input().split())

t=r*100+g*10+b

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

Solution (Python):
rgb = list(map(int,input().split()))
Num = rgb[0] * 100 + rgb[1] * 10 + rgb[2]

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

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

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

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

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

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

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

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

Solution (Python):
import sys
input = sys.stdin.readline
r,g,b = [int(i) for i in input().split()]
d = 10 * g + b
if d % 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):
print("YES" if int(input().replace(" ",""))%4==0 else "NO")

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

if (10 * g + 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:
  m = "YES"
else:
  m = "NO"
  
print(m)

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

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

Solution (Python):
x = input()
y = x.split()
r = int(y[0])
g = int(y[1])
b = int(y[2])
A = 100*r+10*g+b
if A%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 = r*100 + 10*g + b

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

Solution (Python):
x, y, b = map(str, input().split())

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

Solution (Python):
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
from bisect import bisect

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

r, g, b = MAP()

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

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

n = 100 * r + 10 * g + b

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

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

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

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(str, input().split())

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

Solution (Python):
import sys
input = sys.stdin.readline

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

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())
tmp=a*100+b*10+c
if tmp%4==0:
  print("YES")
else:
  print("NO")

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

Solution (Python):
L = list(map(str, input().split()))

num = int(''.join(L))

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

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

Solution (Python):


import numpy as np
import fractions as fra

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

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

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

color = int(r+g+b)

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

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

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

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

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

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

Solution (Python):
import sys

inputted_string = ''
for line in sys.stdin:
  inputted_string = line
 
if int(inputted_string.replace(" ", "")) % 4 is 0:
  print('YES')
else:
  print('NO')

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

Solution (Python):

x, a, b= list(map(int, input().split()))

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

Solution (Python):


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

num = r * 100 + g * 10 + b

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

Solution (Python):
r, g, b = (int(i) for i in input().split())
n = r*100 + g*10 + b
print('YES') if n%4 == 0 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(int,input().split())

number = r * 100 + g * 10 + b

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

Solution (Python):
print('YNEOS'[int(input().replace(' ', '')) % 4 > 0::2])

Solution (Python):
r,g,b=map(int,input().split())
rgb=r*100+g*10+b
print('YES' if rgb%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):
import sys
input = sys.stdin.readline
r = input().split()
if int("".join(r)) % 4 == 0:
    print("YES")
else:
    print("NO")

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

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

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

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

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

Solution (Python):
S = "".join(input().split())

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

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

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

else:
    print('NO')

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

Solution (Python):
p = input().split()
s = int(p[0])*100 + int(p[1])*10 + int(p[2])

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

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

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

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

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

rgb = int(r+g+b)

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

Solution (Python):
from sys import stdin
import sys


if __name__ == "__main__":
    if int("".join(stdin.readline().split()))%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):
print('YES' if int(input().replace(' ',''))%4==0 else 'NO')

Solution (Python):

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

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

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

Solution (Python):
import math
import queue
import bisect
import heapq
import time
import itertools

mod = int(1e9+7)

def swap(a,b):
    return (b,a)

def gcd(a,b): 
    if (a<b):
        a,b = swap(a,b)
    if (b==0):
        return a
    else:
        return gcd(b,a%b)

def lcm(a,b): 
    return a/gcd(a,b)*b

def divisors(a): 
    divisors = []
    for i in range(1,int(a**0.5)+1):
        if a%i==0:
            divisors.append(i)
            if i!=a//i:
                divisors.append(a//i)
    return divisors

def is_prime(a): 
    if a<2:
        return False
    elif a==2:
        return True
    elif a%2==0:
        return False
    sqrt_num = int(a**0.5)
    for i in range(3,sqrt_num+1,2):
        if a%i==0:
            return False
    return True

def prime_num(a): 
    pn = [2]
    for i in range(3,int(a**0.5),2):
        prime = True
        for j in pn:
            if i%j==0:
                prime = False
                break
        if prime:
            pn.append(i)
    return pn

def prime_fact(a): 
    sqrt = math.sqrt(a)
    res = []
    i = 2
    if is_prime(a):
        res.append(a)
    else:
        while a!=1:
            while a%i==0:
                res.append(i)
                a //= i
            i += 1
    return res

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

if __name__=='__main__':
    main()

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

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

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

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

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

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

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

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

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

Solution (Python):
color = input().replace(' ', '')
color = int(color)

if color % 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())
soma = 0

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

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

Solution (Python):
cores=input().split()
r,g,b=int(cores[0]), int(cores[1]), int(cores[2])
numero=(r*100)+(g*10)+(b)
if numero%4==0:
    print('YES')
else:
    print('NO')

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

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

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

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

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

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

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

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

print(ans)

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

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

Solution (Python):
import sys

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

def main():
    return 'NO' if int(g + b) % 4 else 'YES'

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

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

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]

def main():
    r,g,b=MI()
    if (g*10+b)%4:print("NO")
    else:print("YES")
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('YES' if (10*g+b)%4 == 0 else '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")