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

t=r*100+g*10+b

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = input()
y = x.split()
r = int(y[0])
g = int(y[1])
b = int(y[2])
A = 100*r+10*g+b
if A%4 == 0:
    print('YES')
else:
    print('NO')

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

r, g, b = MAP()

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

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:
print("NO" if int(input()[::2])%4 else "YES")

Submission status: Accepted

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

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:
import sys
input = sys.stdin.readline

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:


import numpy as np
import fractions as fra

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

Submission status: Accepted

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

Submission status: Accepted

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

color = int(r+g+b)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

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

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

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

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

Submission status: Accepted

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

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

num = r * 100 + g * 10 + b

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

Submission status: Accepted

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

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

number = r * 100 + g * 10 + b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
r, g, b = [int(_) for _ in 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 (10*g+1*b)%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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: 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:
from sys import stdin
import sys
#stdin = open("input.txt")

if __name__ == "__main__":
    if int("".join(stdin.readline().split()))%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:
#100点問題　abc064 a-rgbcards
r,g,b=map(int,input().split())
print("YES" if (10*g+b)%4==0 else "NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import queue
import bisect
import heapq
import time
import itertools

mod = int(1e9+7)

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

def gcd(a,b): #最大公約数
    if (a<b):
        a,b = swap(a,b)
    if (b==0):
        return a
    else:
        return gcd(b,a%b)

def lcm(a,b): #最小公倍数
    return a/gcd(a,b)*b

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

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

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

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

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

if __name__=='__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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

def main():
    r,g,b=MI()
    if (g*10+b)%4:print("NO")
    else:print("YES")
main()

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

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

Submission status: Accepted

Solution code:
r,g,b = map(int,input().split())
# 4の倍数は下２桁が4で割り切れる
number = [g,b]
print('YES') if int(''.join(map(str,number))) % 4 == 0 else print('NO')

Submission status: Accepted

Solution code:
A,B,C = list(map(str,input().split()))
ABC = int(A+B+C)
ans ="NO"
if ABC % 4 == 0:
  ans = "YES"
print(ans)

Submission status: Accepted

Solution code:
import sys

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

sum = int(r + g + b)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys, math, itertools, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
inf = float('inf')
ans = 0 ;count = 0 ;pro = 1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
r, g, b = list(map(int, input().split()))
print('YES' if (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:
rgb = input().replace(' ','')

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
r, g, b = list(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:
def is_multiple_of_four(r, g, b):
  l2d = int(g)*10+int(b) # last 2 digits
  print("YES") if l2d%4 == 0 else print("NO")

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# Problem https://atcoder.jp/contests/abc064/tasks/abc064_a
# Python 3rd Try
yes = "YES"
no = "NO"
if __name__ == "__main__":
    r, g, b = map(int, input().split(' '))
    answer = ""
    checkNo = (g*10+b) % 4
    if checkNo == 0:
        answer = yes
    else:
        answer = no
    print(answer)
exit

Submission status: Accepted

Solution code:
from sys import stdin

A, B, C = [int(x) for x in stdin.readline().rstrip().split()]

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# Problem https://atcoder.jp/contests/abc064/tasks/abc064_a
# Python 2nd Try
yes = "YES"
no = "NO"
if __name__ == "__main__":
    r, g, b = map(int, input().split(' '))
    answer = ""
    checkNo = (g*10+b) % 4
    if checkNo == 0:
        answer = yes
    else:
        answer = no
    print(answer)
exit

Submission status: Accepted

Solution code:
r,g,b = map(int, input().split())
if (2*g + b)%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 = map(int,input().split())

c=100*r+10*g+b

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

Submission status: Accepted

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

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

print(ans)

Submission status: Accepted

Solution code:
s = input().split()
js = ''.join(s)

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

Submission status: Accepted

Solution code:
# Problem https://atcoder.jp/contests/abc064/tasks/abc064_a
# Python 1st Try
rgbs = list(map(int,input().split(' ')))
g = rgbs[1]
b = rgbs[2]
answer =''
checkgb=((g*10+b)%4)
if checkgb == 0:
    answer = "YES"
else:
    answer = "NO"
print(answer)

Submission status: Accepted

Solution code:
# ABC064a
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)

n = int(input()[:-1].replace(' ', ''))
print('YNEOS'[n % 4 != 0::2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
##### 解けてない #####

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

if rgb%4==0: # 4の倍数なら
    print("YES")
else: # 4の倍数でないなら
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin

a,b,c = [int(x) for x in stdin.readline().rstrip().split()]

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

gtasub = (g+b)
gtasub_int =int(gtasub)

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

Submission status: Accepted

Solution code:
n = int(''.join(input().split()))
if n % 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:
a = ""
b = list(map(int, input().split()))
for i in range(3):
  a += str(b[i])
if int(a)%4:
  print("NO")
else:
  print("YES")

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

Submission status: Accepted

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

#入力
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())
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())

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:
    print('NO')
else:
    print('YES')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
_,g,b=input().split();print("YNEOS"[int(g+b)%4!=0::2])

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

Submission status: Accepted

Solution code:
#ABC064 A - RGB Cards
si = lambda: input()
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))
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())
num = a*100 + b*10 + c
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
print('YES' if a%4==0 else 'NO')

Submission status: Accepted

Solution code:
a = input()

b,c,d = map(int, a.split())

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

Submission status: Accepted

Solution code:
r, g, b = map(str, input().split())
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())
N = g * 10 + b

if N%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')