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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

num = r * 100 + g * 10 + b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

    
if __name__ == '__main__':
  main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - RGB Cards
r,g,b=list(input().split())
n=int("".join([r,g,b]))
if n%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 10 05:50:12 2020

@author: baddude
"""


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

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

Submission status: Accepted

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

l = g+b

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

Submission status: Accepted

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

Submission status: Accepted

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

else:
  print('NO')

Submission status: Accepted

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

n=r*100+g*10+b

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

Submission status: Accepted

Solution code:
import sys

r, g, b = sys.stdin.readline().strip().split(" ")
n = int(r) * 100 + int(g) * 10 + int(b)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
b, c, d = map(int, input().split())
#3桁の数
cin = 100*b+10*c+d
#倍数判定
if cin % 4==0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a, b, c = map(int,input().split())

s = 100 * a + 10 * b + c

if s % 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 * 1) % 4 == 0:
  	print("YES")
else:
  	print("NO")

Submission status: Accepted

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

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    a,b,c=MI()
    N=b*10+c
    if N%4==0:
        print("YES")
    else:
        print("NO")

main()

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:
list_ = input()
list_ = list_.split(" ")
num = list_[0] + list_[1] + list_[2]
num = int(num)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

integer=100*r+10*g+b

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
N = input().split()
M = int("".join(N))
if M%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*1) % 4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#
# 　　  ⋀_⋀　 
#　　  (･ω･)  
# .／ Ｕ ∽ Ｕ＼
#  │＊　合　＊│
#  │＊　格　＊│ 
#  │＊　祈　＊│ 
#  │＊　願　＊│ 
#  │＊　　　＊│ 
#      ￣
#
import sys
sys.setrecursionlimit(10**6)
input=sys.stdin.readline
from math import floor,sqrt,factorial,hypot,log #log2ないｙｐ
from heapq import heappop, heappush, heappushpop
from collections import Counter,defaultdict,deque
from itertools import accumulate,permutations,combinations,product,combinations_with_replacement
from bisect import bisect_left,bisect_right
from copy import deepcopy
from fractions import gcd
from random import randint
def ceil(a,b): return (a+b-1)//b
inf=float('inf')
mod = 10**9+7
def pprint(*A): 
    for a in A:     print(*a,sep='\n')
def INT_(n): return int(n)-1
def MI(): return map(int,input().split())
def MF(): return map(float, input().split())
def MI_(): return map(INT_,input().split())
def LI(): return list(MI())
def LI_(): return [int(x) - 1 for x in input().split()]
def LF(): return list(MF())
def LIN(n:int): return [I() for _ in range(n)]
def LLIN(n: int): return [LI() for _ in range(n)]
def LLIN_(n: int): return [LI_() for _ in range(n)]
def LLI(): return [list(map(int, l.split() )) for l in input()]
def I(): return int(input())
def F(): return float(input())
def ST(): return input().replace('\n', '')
def main():
    a=int(ST().replace(" ",""))
    if a%4:
        print("NO")
    else:
        print("YES")
if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

num = int(x)

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

Submission status: Accepted

Solution code:
R,G,B=map(int,input().split())
A=R*100+G*10+B
if A%4==0:
	print("YES")
else:
	print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
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("YNEOS"[int(input().replace(" ",""))%4!=0::2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

s = int(a+b+c)

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

Submission status: Accepted

Solution code:
if int(''.join(list(input().split()))) % 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:
#ABC064

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# AtCoder Beginner Contest 062
# A - RGB Cards
r, g, b = map(int, input().split())
if (100*r+10*g+1*b) % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

number = int(a+b+c)

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

Submission status: Accepted

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

num = r*100 + g*10 + b

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

num = int(r + g + b)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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")

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 入力　文字列3つ
r, g, b = input().split()

# 並べた数字が4の倍数か
rgb = r + g + b

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input_text = list(map(int, input().split()))
# print(input_text)

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

n = (10*g + b) % 4

if n == 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:
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")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


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

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

Submission status: Accepted

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

if int(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:
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')

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

Submission status: Accepted

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

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

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

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

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

Submission status: Accepted

Solution code:
a,b,c=map(int, input().split())  #複数数値入力　「A B」みたいなスペース空いた入力のとき
d = int(str(a)+str(b)+str(c)) % 4
if d != 0:
    print('NO')
else:
    print('YES')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
"""
author : halo2halo
date : 30, Jan, 2020
"""

import sys
import itertools

# import numpy as np

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

Submission status: Accepted

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

main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if N % 4 == 0:
    print('YES')
else:
    print('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("YNEOS"[int(input().replace(" ", ""))%4!=0::2])

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    from sys import stdin, setrecursionlimit
    #setrecursionlimit(10**9)
    #n = int(stdin.readline()[:-1])   
    r = stdin.readline()[:-1]
    #n = int(stdin.readline()[:-1])   
    #r = [stdin.readline() for i in range(n)]
    #t = [int(stdin.readline()) for i in range(n)]
    a = r.split()
    #a = list(map(int, r.split()))
    #a, b = map(int, r.split())
    #a = [int(s[i]) for i in range(1, n+1)]
    #a = [list(map(int, r.split())) for i in range(1,n+1)]
    #res = 0

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 入力
nums = input().split()
# 3桁の数字に変換
num = int(''.join(nums))
# 判定
answer = "YES" if num % 4 == 0 else "NO"
# 結果を表示
print(answer)

Submission status: Accepted

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