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: Wrong Answer

Solution code:
i = list(map(int, input().split()))
s=i[0]*100+i[1]*10+i[2]
if s%4==0:
  print("Yes")
else :
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
598985

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=input().split()
print('Yes' if int(a[0]+a[1]+a[2])%4==0 else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# ABC064A - RGB Cards
r, g, b = list(map(int, input().rstrip().split()))
print("YES" if (g * 10 + b % 4) else "NO")

Submission status: Wrong Answer

Solution code:
nums = int(''.join(input().split()))
if nums % 4 == 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c= list(map(int,input().split()))
N = 100*a + 10*b + c
if N % 4 == 0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

num = a*100 + g*10 + b

if num % 4 == 0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
r,g,b = (int(i) for i in input().split())  
if r * g * b % 4 == 0 :
    print('Yes')
else :
    print('No')

Submission status: Wrong Answer

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: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

else:
  print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print("No" if int(input()[::2]) % 4 else "Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

n = int(r+g+b)
if n%4 ==0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
A,N,B=map(str,input().split())
C=A+N+B
if int(C)%4==0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

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

print(func(r,  g, b))

Submission status: Wrong Answer

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: Wrong Answer

Solution code:
from sys import stdin

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l= list(input().split())
print(int(l[0] + l[1] + l[2]))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print('YES' if int(input()[0:5:2])%4 == 0 else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print("YNEOS"[int("".join(list(input().split())))%4::2])

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
    r,g,b,=[i for i in input().split()]
    if int(r+g+b)%4==0:
        print('Yes')
    else:
        print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

answer = r*100 + g*10 + b

print("{0}".format(answer))

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

Submission status: Wrong Answer

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

answer = r*100 + g*10 + b

if answer % 4 == 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
_,a,b=map(int,input().split())
print('YNEOS'[(a*10+b)%4>1::2])

Submission status: Wrong Answer

Solution code:
_,a,b=map(int,input().split())
print('YNEOS'[(a*10+b)%4>1])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = input().split()
d = a+b+c
e = float(int(d))
if e%4==0:
    print("YES")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print('NO'*(int(input().replace(' ',''))%4)or'YES')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print("test")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from functools import reduce
num = int(reduce(lambda a,b:a+b, input().split(), ""))
print('Yes' if num%4 == 0 else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print "YES" if int("".join([str(x) for x in sorted([int(y) for y in raw_input().split()])]))%4 == 0 else "NO"

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
#スペース区切りの整数の入力
r,g,b = map(int,input().split())

a = r*100+g*10+b

#判定
if a%4 == 0:
    print("{}は4の倍数です".format(a))
else:
    print("{}は4の倍数ではありません".format(a))

Submission status: Wrong Answer

Solution code:
rgb = input()
rgb = rgb.split(" ")
num = int(rgb[1] + rgb[2])

if num % 4 == 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
X, A, B = map(int, input().split())
print(["No", "Yes"][(A*10+B)%4==0])

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print['Yes','No'][int(raw_input()[::2])%4>0]

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if z%4==0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
def solution():
	a = raw_input()
		
	aIdx = 0
	zIdx = 0
	maxLength = 0
	hasSet = False
	for i in range(len(a)):
		if a[i] == 'A' and not hasSet:
			aIdx = i
			hasSet = True
		
		if a[i] == 'Z':
			zIdx = i 

	print zIdx - aIdx + 1

solution()

Submission status: Wrong Answer

Solution code:
cs = [ int(x) for x in input().split() ]
n = cs[0] * 100 + cs[1] * 10 + cs[2]
if n / 4 == 0 :
    print("YES")
else :
    print("NO")

Submission status: Wrong Answer

Solution code:
input_line_1 = raw_input()
x, y, z = input_line_1.split(" ")
if (int(y) * 10 + int(z)) % 4 == 0:
	print "Yes"
else:
	print "No"

Submission status: Wrong Answer

Solution code:
s = input()
def shrink(char, s):
    i = 0
    while len(set(s)) != 1:
        i += 1
        s = ''.join([s[i] if s[i+1] != char else s[i+1] for i in range(len(s)-1)])
    return i

# extract letters which occur the most in s
l = [[] for i in range(len(s) + 1)]
[l[s.count(c)].append(c) for c in set(s)]
l = [i for i in l if i][-1]

print(min([shrink(c, s) for c in l]))

Submission status: Wrong Answer

Solution code:

r,g,b = map(int, raw_input().split())
x= r*100+ g*10* b

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

Submission status: Wrong Answer

Solution code:

r,g,b = map(int, raw_input().split())
x= r*100+ g*10* b

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

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

a = g+b

answer = a % 4

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

Submission status: Wrong Answer

Solution code:
#coding: utf-8
r,g,b = map(int, raw_input().split(' '))
mod = (100 * r + 10 * g + b) % 4

if mod == 0:
	print 'YES'
print 'NO'

Submission status: Wrong Answer

Solution code:
from sys import stdin
ans = 'NO'
a = map(int,stdin.readline().split())
a.sort()
r,g,b  = a
if (r*100 + b *10 + b) %4==0:
 ans = 'YES'
print ans

Submission status: Wrong Answer

Solution code:
from sys import stdin
ans = 'NO'
r,g,b = map(int,stdin.readline().split())
if (r*100 + b *10 + b) %4==0:
 ans = 'YES'
print ans

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l = map(int, raw_input().split())
print 100*l[0] + 10*l[1] + l[2]

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

import array
from bisect import *
from collections import *
import fractions
import heapq 
from itertools import *
import math
import re
import string

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

Solution code:
R, G, B = input().split()
N = int(R) * 100 + int(G) * 10 + int(B)
if N % 4 == 0:
     print("Yes")
else:
     print("No")

Submission status: Wrong Answer

Solution code:
inputs = list(map(int, input().split(" ")))
print(inputs)
R = inputs[0]
G = inputs[1]
B = inputs[2]

sum = R*100 + G*10 + B

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:

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

if a % 4 == 0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

l = ''.join(str(n) for n in rgb)
if int(l)%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:
a,b,c = input().split()
n = int(a+b+c)
if n % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

a = r + g + b

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = ''

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

if dam%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:
# A - RGB Cards
def main():
    r, g, b = input().split()
    rgb = r+g+b

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



if __name__ ==  "__main__":
    main()

Submission status: Accepted

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

result = int("{}{}{}".format(r,g,b))
if result % 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:
# スペース区切りの整数の入力
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 = map(int, input().split())
rgb = int(r * 100 + g * 10 + b)
if rgb % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
# sys.setrecursionlimit(100000)


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


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


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


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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
if (r*100+g*10+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:
a=input().split()
b=''.join(a)

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

Submission status: Accepted

Solution code:
#n = int(input())
r, g, b = map(str, input().split())
#al = list(map(int, input().split()))
#al=[list(input()) for i in range(n)]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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


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

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# A - RGB Cards
# https://atcoder.jp/contests/abc064/tasks/abc064_a

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

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

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

print(result)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 3枚のカードを並べた3桁の整数が4の倍数か

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

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

Submission status: Accepted

Solution code:
# A - RGB Cards

# 整数r,g,bを入力し、左から並べてできた3桁の整数が4の倍数であるか判定する


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

answer = int(r + g + b)

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

Submission status: Accepted

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

Submission status: Accepted

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