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

Submission status: Accepted

Solution code:
r, g, b = map(int, input().split())
val = 100 * r + 10 * g + b
print('YES' if val % 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:
i = list(map(int, input().split()))
s=i[1]*10+i[2]
if s%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 (100*a+10*b+c)%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:
a, b, c = map(str, input().split())

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

Submission status: Accepted

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

merge = 100*r + 10 * g + b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,g,b= map(int,input().split(" "))
RGB=100*a+10*g+b
print("YES" if RGB%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:
#N = int(input())
#A = [int(x) for x in input().split()]
#a, b, c = map(int, input().split())
#name1 = str(input())
#alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5}
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:
input = list(map(str,input().split()))
num = ''.join(input)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input().split()
print('YES' if int(a[0]+a[1]+a[2])%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:
# encoding:utf-8
import copy
import random
import bisect #bisect_left　これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math

mod = 10**9+7

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

tmp = int(r+g+b)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

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

    return r, g, b

def submit():
    r, g, b = read_input()

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


if __name__ == '__main__':
    submit()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

num = 100*int(in_list[0])+10*int(in_list[1])+int(in_list[2])

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys, os

f = lambda:list(map(int,input().split()))
if 'local' in os.environ :
    sys.stdin = open('./input.txt', 'r')

def solve():
    a,b,c = f()
    if (a*100 + b*10 +c )%4 == 0:
        print('YES')
    else:
        print('NO')

solve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

x=100*r+10*g+b

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

Submission status: Accepted

Solution code:
a, b, c = (int(i) for i in input().split())  

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

Submission status: Accepted

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

num = 100 * r + 10 * g + b
if num % 4 == 0:
    ans = 'YES'
else:
    ans = 'NO'

print(ans)

Submission status: Accepted

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

n = int(''.join(input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if int("".join(list(map(str, input().split())))) % 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:
# ABC064A - RGB Cards
r, g, b = list(map(int, input().rstrip().split()))
print("YES" if (g * 10 + 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:
import functools

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def inpm(line):
    return [inp() for _ in range(line)]


def inpfm(line):
    return [inpf() for _ in range(line)]


def inpsm(line):
    return [inps() for _ in range(line)]


def inlm(line):
    return [inl() for _ in range(line)]


def inlfm(line):
    return [inlf() for _ in range(line)]


def inlsm(line):
    return [inls() for _ in range(line)]


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from functools import reduce
import math

def main():
    # 文字列の2進数を数値にする
    # '101' → '5'
    # 文字列の頭に'0b'をつけてint()にわたす
    # binary = int('0b'+'101',0)

    # 2進数で立っているbitを数える
    # 101(0x5) → 2
    # cnt_bit = bin(5).count('1')
    
    # N! を求める
    # f = math.factorial(N)
    
    # 切り捨て
    # 4 // 3
    # 切り上げ
    #-(-4 // 3)
    
    # 初期値用:十分大きい数(100億)
    INF = float("inf")
    
    # 1文字のみを読み込み
    # 入力:2
    # a = input().rstrip()
    # 変数:a='2'
    
    # スペース区切りで標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a, b, c, d = (int(_) for _ in input().split())  
    # 変数:a=2 b=4 c=5 d =7
    
    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a = list(int(_) for _ in input().split())
    # 変数:a = [2, 4, 5, 7]    

    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2457
    # a = list(int(_) for _ in input())
    # 変数:a = [2, 4, 5, 7]    
    a, b, c = (_ for _ in input().split())
    if int(a+b+c) % 4 == 0:
        print('YES')
    else:
        print('NO')
    
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
i=input().replace(" ","")
print(["NO","YES"][int(i)%4==0])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#coding:UTF-8
work = input().split(" ")
r = int(work[0])
b = int(work[1])
g = int(work[2])
num = r*100 + b*10 +g
if(num % 4 == 0):
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

num = r*100 + g*10 + b

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a, b, c = map(int, raw_input().split())
# 出力
if (a*100+b*10+c)%4 ==0:
    print "YES"
else:
    print "NO"

Submission status: Accepted

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

a = int(x+y+z)
if a % 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:
_, b, c = map(int, input().split())

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
print('YNEOS'[not eval(input().replace(' ','')+'%4==0')::2])

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 = map(int, input().split())

number=100*r + 10*g + b

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

def main():
    input = sys.stdin.readline
    A = list(map(int, input().split()))
    n = A[0] * 100 + A[1] * 10 + A[2]

    if n % 4 == 0:
        return 'YES'
    else:
        return 'NO'


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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

total = 100*r + 10*g + b

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
ans = "".join(input().split())
ans = int(ans)
if ans % 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 sys
input=sys.stdin.readline

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
r,g,b = input().split()
s = r + g + b
s = int(s)

if s % 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:
s = ""
a = list(input().split())
for i in range(3):
  s += a[i]
if eval(s) % 4 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!usr/bin/env python3
from collections import defaultdict
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.readline().split()))
def S(): return list(sys.stdin.readline())[:-1]
def IR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = I()
    return l
def LIR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = LI()
    return l
def SR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = S()
    return l
def LSR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = SR()
    return l
mod = 1000000007

#A
r,g,b = LI()
if (g*10+b)%4 == 0:
    print("YES")
else:
    print("NO")
#B

#C
"""
f = [0]
for i in range(1,400):
    f.append(0)
for i in range(400,800):
    f.append(1)
for i in range(800,1200):
    f.append(2)
for i in range(1200,1600):
    f.append(3)
for i in range(1600,2000):
    f.append(4)
for i in range(2000,2400):
    f.append(5)
for i in range(2400,2800):
    f.append(6)
for i in range(2800,3200):
    f.append(7)
for i in range(3200,4801):
    f.append(-1)
n = I()
a = LI()
k = [1 for i in range(8)]
s = 0
t = 0
for i in a:
    if f[i] >= 0:
        if k[f[i]]:
            k[f[i]] = 0
            s += 1
    else:
        t += 1
print(max(s,1),min(s+t,n))
"""

#D
"""
n = I()
s = S()
ans = []
k = 0
for i in range(n):
    if s[i] == ")":
        k += 1
    else:
        if k > 0:
            ans += ["("]*k
            k = 0
        k -= 1
if k < 0:
    ans += [")"]*(-k)
else:
    ans = ["("]*k+ans
i = 0
if len(ans) == 0:
    for i in s:
        print(i,end = "")
else:
    while ans[i] == "(":
        i += 1
        if i == len(ans):break
    for j in range(n):
        ans.insert(i+j,s[j])
    for i in ans:
        print(i,end = "")
print()
"""
#E

#F

#G

#H

#I

#J

#K

#L

#M

#N

#O

#P

#Q

#R

#S

#T

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X=[]
X=map(int,input().split(' '))
map(str,X)
Y=int(''.join(map(str,X)))
if Y%4==0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def rgb_cards(r: int, g: int, b: int)->bool:
    return (10*g + b) % 4 == 0


if __name__ == "__main__":
    r, g, b = map(int, input().split())
    yes = rgb_cards(r, g, b)
    print('YES' if yes else 'NO')

Submission status: Accepted

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

Submission status: Accepted

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

a=r*100+g*10+b

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

mul = r*100 + g*10 + b

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n1, n2, n3 = map(int, input().split())
n = n2 * 10 + n3
if n % 4:
    print('NO')
else:
    print('YES')

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

def main():
    rgb = int(''.join(input().split()))
    print('YES' if rgb % 4 == 0 else 'NO')

main()

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