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

Submission status: Accepted

Solution code:
rgb=input()
print("YES" if int(rgb[::2])%4==0 else "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:
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())
print("YES" if (10 * g + b) % 4 == 0 else "NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x,y,z = input().split()

xyz = x+y+z

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s = input()

num = int(''.join(s.split()))

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

d = a + b + c 

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math
import itertools
import collections
import heapq
import re
import numpy as np

rr = lambda: sys.stdin.readline().rstrip()
rs = lambda: sys.stdin.readline().split()
ri = lambda: int(sys.stdin.readline())
rm = lambda: map(int, sys.stdin.readline().split())
rl = lambda: list(map(int, sys.stdin.readline().split()))
inf = float('inf')
mod = 10**9 + 7

a = int(rr().replace(' ',''))
print('YNEOS'[a%4!=0::2])

Submission status: Accepted

Solution code:
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
INF = 10**9
mod = 10**9+7

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8

input_ = input().split()

rgb = input_[0] + input_[1] + input_[2]
rgb = int(rgb)

if rgb % 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:
print('YNEOS'[(int(input()[::2]))%4>0::2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B, C = input().split()
S = A + B +C
n = int(S)
if n%4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import bisect, collections, copy, heapq, itertools, math, string, sys
input = lambda: sys.stdin.readline().rstrip() 
sys.setrecursionlimit(10**7)
INF = float('inf')
def I(): return int(input())
def F(): return float(input())
def SS(): return input()
def LI(): return [int(x) for x in input().split()]
def LI_(): return [int(x)-1 for x in input().split()]
def LF(): return [float(x) for x in input().split()]
def LSS(): return input().split()

def resolve():
    r, g, b = LI()

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

if __name__ == '__main__':
    resolve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
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=input().split()
if int(a+b+c)%4==0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if num%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 = 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, C = map(int, input().split())
# print("Yes" if C in range(A, B+1) else "No")
# x, y = map(int, input().split())
print("YES" if int("{}{}{}".format(A, B, C)) % 4 == 0 else "NO")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r,g,b=[int(i) for i in 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())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r ,g, b = input().split()
answer = int(r + g + b)
if answer % 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:
import bisect,collections,copy,heapq,itertools,math,string
import sys
def S(): return sys.stdin.readline().rstrip()
def M(): return map(int,sys.stdin.readline().rstrip().split())
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LS(): return list(sys.stdin.readline().rstrip().split())
r, g, b = M()
temp = str(r) + str(g) + str(b)
rgb = int(temp)
if rgb % 4 == 0:
    print('YES')
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:
import sys
r,g,b = map(int,input().split())
if r < 0 or g < 0 or b < 0 or r > 9 or g > 9 or b > 9:
    sys.exit()

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

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

num_mod = num % 4

if (num_mod == 0):
    print("YES")

else:
    print("NO")

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
buf = sys.stdin.buffer


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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
def actual(r, g, b):
    rgb = 100 * r + 10 * g + b

    if rgb % 4 == 0:
        return 'YES'

    return 'NO'

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

if (10*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
if a % 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
print('YES' if num % 4 == 0 else 'NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

N=int(r+g+b)

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

Submission status: Accepted

Solution code:
print('NYOE S'[int(''.join(list(input().split())))%4==0::2])

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

ans = 10*g+b

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

Submission status: Accepted

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

Submission status: Accepted

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

r = a*100 + b*10 + c

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


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

    num = int("".join(map(str, [r, g, b])))

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


if __name__ == "__main__":
    main()

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:
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());print('NYOE S'[(g*10+b)%4==0::2])

Submission status: Accepted

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


RGB =  100*r + 10*g + b 

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

Submission status: Accepted

Solution code:
def resolve():
    a, b, c = map(int, input().split())
    x = b*10 + c

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print("YES" if (10 * g + d) % 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 = 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())

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
R,G,B=map(int,input().split())

if (R*100+G*10+B)%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
r,g,b=input().split()
x=r+g+b
y=int(x)
if y%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:
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,g,b=map(int,input().split())
card = int(str(r)+str(g)+str(b))
if((card % 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:
a,b,c = map(str,input().split())
d = a + b +c
print("YES" if int(d) % 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:
#RGBCards
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 = input().split()
res = int(r + g + b)
if res % 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:
three =  list(map(int, input().split()))
r = three[0]
g = three[1]
b = three[2]
g = str(g)
b = str(b)
gb = g + b
gb = int(gb)

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

Submission status: Accepted

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

rgb=100*r+10*g+b

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

Submission status: Accepted

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

Submission status: Accepted

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

if (100*r+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:
def main():
    r, g, b = input().split()

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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 = (10*g + b) % 4

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

N=list(map(int,input().split()))
num=100*N[0]+10*N[1]+N[2]
if num%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())

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

Submission status: Accepted

Solution code:
print("NO" if sum([int(x)*int(y) for x, y in zip(input().split(), [100, 10, 1])])%4 else "YES")

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()
factor=g+b
gb=int(factor)

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

Submission status: Accepted

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

Submission status: Accepted

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

import sys
# import time
# import math
# import numpy as np
# import scipy.sparse.csgraph as cs            # csgraph_from_dense(ndarray, null_value=inf), bellman_ford(G, return_predecessors=True), dijkstra, floyd_warshall
# import random                                # random, uniform, randint, randrange, shuffle, sample
# import string                                # ascii_lowercase, ascii_uppercase, ascii_letters, digits, hexdigits
# import re                                    # re.compile(pattern) => ptn obj; p.search(s), p.match(s), p.finditer(s) => match obj; p.sub(after, s)
# from bisect import bisect_left, bisect_right # bisect_left(a, x, lo=0, hi=len(a)) returns i such that all(val<x for val in a[lo:i]) and all(val>-=x for val in a[i:hi]).
# from collections import deque                # deque class. deque(L): dq.append(x), dq.appendleft(x), dq.pop(), dq.popleft(), dq.rotate()
# from collections import defaultdict          # subclass of dict. defaultdict(facroty)
# from collections import Counter              # subclass of dict. Counter(iter): c.elements(), c.most_common(n), c.subtract(iter)
# from datetime import date, datetime          # date.today(), date(year,month,day) => date obj; datetime.now(), datetime(year,month,day,hour,second,microsecond) => datetime obj; subtraction => timedelta obj
# from datetime.datetime import strptime       # strptime('2019/01/01 10:05:20', '%Y/%m/%d/ %H:%M:%S') returns datetime obj
# from datetime import timedelta               # td.days, td.seconds, td.microseconds, td.total_seconds(). abs function is also available.
# from copy import copy, deepcopy              # use deepcopy to copy multi-dimentional matrix without reference
# from functools import reduce                 # reduce(f, iter[, init])
# from functools import lru_cache              # @lrucache ...arguments of functions should be able to be keys of dict (e.g. list is not allowed)
# from heapq import heapify, heappush, heappop # built-in list. heapify(L) changes list in-place to min-heap in O(n), heappush(heapL, x) and heappop(heapL) in O(lgn).
# from heapq import nlargest, nsmallest        # nlargest(n, iter[, key]) returns k-largest-list in O(n+klgn).
# from itertools import count, cycle, repeat   # count(start[,step]), cycle(iter), repeat(elm[,n])
# from itertools import groupby                # [(k, list(g)) for k, g in groupby('000112')] returns [('0',['0','0','0']), ('1',['1','1']), ('2',['2'])]
# from itertools import starmap                # starmap(pow, [[2,5], [3,2]]) returns [32, 9]
# from itertools import product, permutations  # product(iter, repeat=n), permutations(iter[,r])
# from itertools import combinations, combinations_with_replacement
# from itertools import accumulate             # accumulate(iter[, f])
# from operator import itemgetter              # itemgetter(1), itemgetter('key')
# from fractions import gcd                    # for Python 3.4 (previous contest @AtCoder)



def main():
    mod = 1000000007                # 10^9+7
    inf = float('inf')              # sys.float_info.max = 1.79...e+308
    # inf = 2 ** 64 - 1             # (for fast JIT compile in PyPy) 1.84...e+19
    sys.setrecursionlimit(10**6)    # 1000 -> 1000000
    def input(): return sys.stdin.readline().rstrip()
    def ii():    return int(input())
    def mi():    return map(int, input().split())
    def mi_0():  return map(lambda x: int(x)-1, input().split())
    def lmi():   return list(map(int, input().split()))
    def lmi_0(): return list(map(lambda x: int(x)-1, input().split()))
    def li():    return list(input())
    
    
    a, b, c = input().split()
    print('YES') if int(a+b+c) % 4 == 0 else print('NO')


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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