Problem:


Score : 100 points

Problem Statement

AtCoDeer has three cards, one red, one green and one blue.

An integer between 1 and 9 (inclusive) is written on each card: r on the red card, g on the green card and b on the blue card.

We will arrange the cards in the order red, green and blue from left to right, and read them as a three-digit integer.

Is this integer a multiple of 4?  

Constraints

1 ≤ r, g, b ≤ 9

Input

Input is given from Standard Input in the following format:

r g b

Output

If the three-digit integer is a multiple of 4, print YES (case-sensitive); otherwise, print NO.

Sample Input 1

4 3 2

Sample Output 1

YES

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

Sample Input 2

2 3 4

Sample Output 2

NO

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



Sample input:
4 3 2


Sample output:
YES

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Number = r * 100 + g *10 + b

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

Submission status: Accepted

Solution code:
#64

rgb = int("".join(input().rstrip(" ").split()))

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

Submission status: Accepted

Solution code:
num = 0
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:
print('YES') if int(input().replace(' ',''))%4 == 0 else print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print('NO' if int("".join(input().split())) & 3 else 'YES')

Submission status: Accepted

Solution code:
if int("".join(input().split())) & 3:
  print('NO')
else:
  print('YES')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = str(input())
b = int(a.replace(' ', ''))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

n = 100 * r + 10 * g + b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

rgb = int(r + g + b)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(int, list(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 (g*10+b)%4:
  print('NO')
else:
  print('YES')

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
import copy
import collections
from bisect import bisect_left
from bisect import bisect_right
from collections import defaultdict
from heapq import heappop, heappush
import math
import itertools
 
# NO, PAY-PAY
#import numpy as np
#import statistics
#from statistics import mean, median,variance,stdev
 
def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))
 
def main():
    r,g,b = inputMap()
    
    tmp = str(r) + str(g) + str(b)
    tmp1 = int(tmp)
    
    if tmp1 % 4 == 0:
        print("YES")
    else:
        print("NO")
    
        
if __name__ == "__main__":
	main()

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:
line = list(map(str, input().split()))
target = int("".join(line))
if target % 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:
x,y,z = map(int,input().split())
if (y*10+z) % 4 == 0:
    print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-S
r,g,b = [int(i) for i in input().split()]

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

Submission status: Accepted

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

X = 100 * r + g * 10 + b

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

else:
     print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B,C = map(int,input().split())
X = 10*B +C
if X%4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = list(map(str, input().split()))
S = int(S[0] + S[1] + S[2])

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

total = r*100 + g * 10 + b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
import itertools
sys.setrecursionlimit(10**5)
stdin = sys.stdin
bisect_left = bisect.bisect_left
bisect_right = bisect.bisect_right
def LI(): return list(map(int, stdin.readline().split()))
def LF(): return list(map(float, stdin.readline().split()))
def LI_(): return list(map(lambda x: int(x)-1, stdin.readline().split()))
def II(): return int(stdin.readline())
def IF(): return float(stdin.readline())
def LS(): return list(map(list, stdin.readline().split()))
def S(): return list(stdin.readline().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float('INF')

#A
def A():
    _, b, c = LS()
    x = int(b[0] + c[0]) % 4
    if not x:
        print("YES")
    else:
        print("NO")
    return

#B
def B():
    return

#C
def C():
    return

#D
def D():
    return

#E
def E():
    return

#F
def F():
    return

#G
def G():
    return

#H
def H():
    return

#Solve
if __name__ == '__main__':
    A()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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


main()

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

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
#ABC64 A

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

ans = str(r) + str(g) + str(b)
ans = int(ans)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input().replace(' ','')
print(['YES','NO'][int(a)%4>0])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#x, y = map(int,input().split())
ls = list(map(int,input().split()))
#r = int(input())
#s = input()
#x, y = input().split()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

s = "".join(s)
s = int(s)
if s % 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:
# -*- coding: utf-8 -*-

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

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

# output
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input().split(" ")
b = int(a[0]+a[1]+a[2])

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

if((10*b + g) % 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:
r,g,b = [int(n) for n in input().split()]

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

Submission status: Accepted

Solution code:
#coding: utf-8
input = input().split()
r = input[0]
g = input[1]
b = input[2]
x = int(r+g+b)
if x%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:

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
nl = lambda: list(map(int, input().split()))
sl = lambda: input().split()
n = lambda: int(input())
s = lambda: input()

r, g, b = nl()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

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

# print(r)
# print(g)
# print(b)

# print(int(r + g + b))

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
sys.setrecursionlimit(300000)

YES = "YES"  # type: str
NO = "NO"  # type: str

def solve(r: int, g: int, b: int):
    if (r * 100 + g * 10 + b) % 4 == 0:
        ret = YES
    else:
        ret = NO
    print(ret)
    return


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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().split()
print('YES' if int(''.join(s))%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())
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:
# !/usr/bin python3
# -*- coding: utf-8 -*-

rgb = int(input().replace(" ", ""))

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

else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print('YES' if int(''.join(input().split()[1:]))%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:
print('NO'if int(input().replace(' ', ''))%4 else 'YES')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
num = input().split()
a = (num[0])
b = (num[1])
c = (num[2])

key1= a + b + c
key2=int(key1)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input().split()
sn = ""
for i in N:
    sn += i
print('YES' if int(sn) % 4 == 0 else 'NO')

Submission status: Accepted

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

Submission status: Accepted

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

chk = r*100 + g*10 + b

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B,C=map(str, input().split())

if int(A+B+C)%4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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


abc()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x, y, z = map(int, input().split())
ans = x * 100 + y * 10 + z
if ans % 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:
# -*- coding: utf-8 -*-

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

s = r*100 + g*10 + b

if s%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:
i = list(map(int,input().split(' ')))
#print(i)
word = ''
for x in i:
  word += (str(x))
  
if int(word)%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:
a=list(input().split())
if int("".join(a))%4==0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if int(input().replace(' ','')) % 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 = list(map(int, input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B, C = map(str, input().split())

if int(A+B+C)%4==0:
    print ("YES")
else:
    print ("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    r, g, b = [ele for ele in input().split()]
    num=int(r+g+b)
    ans="NO"
    if num %4 == 0:
        ans = "YES"
    print(ans)




if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
rgb = int(input()[::2])
if rgb%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:
a, b, c = [ v for v in input().split() ]
if int(b+c) % 4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

a = int(r + g + b)

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

Submission status: Accepted

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

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

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

else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r,g,b=input().split()
sum=100*r+10*g+b
if int(sum)%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:
_, g, b = input().strip().split()
print("NO" if int(g + b) & 3 else "YES")