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

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

Submission status: Runtime Error

Solution code:
r=int(input())
g=int(input())
b=int(input())

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

Submission status: Runtime Error

Solution code:
def calc():
    ans = r + g + b
    
    if ans%4 == 0:
        return "YES"
    
    else:
        return "NO"
 
r, g, b = list(map(int, input()))
print(calc)

Submission status: Runtime Error

Solution code:
def calc():
    ans = r + g + b
    
    if ans%4 == 0:
        return "YES"
    
    else:
        return "NO"

r, g, b = input list(map(int, input()))
print(calc)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Solution code:
r_remain = r%4
g_remain = g%4
b_remain = b%4
if r_remain == 0:
    print("YES")
else:
    print("NO")
if g_remain == 0:
    print("YES")
else:
    print("NO")
if b_remain == 0:
    print("YES")
else:
    print("NO")

Submission status: Runtime Error

Solution code:
import sys

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

main()

Submission status: Runtime Error

Solution code:


l = input()
a = " ".join(l)
print("YES" if int(a) % 4 == 0 else "No")

Submission status: Runtime Error

Solution code:
n=int(input())
a=list(map(int,input().split()))
c=[]
for i in range(n):
    if a[i]<=399:
        c.append('0')
    elif a[i]<=799:
        c.append('1') 
    elif a[i]<=1199:
        c.append('2')
    elif a[i]<=1599:
        c.append('3')
    elif a[i]<=1999:
        c.append('4')
    elif a[i]<=2399:
        c.append('5')
    elif  a[i]<=2799:
        c.append('6')
    elif  a[i]<=3199:
        c.append('7')
x=n-len(c)
#3200以上の人数
c=list(set(c))

print(max(len(c),1), len(c)+x)

Submission status: Runtime Error

Solution code:
n=int(input())
a=list(map(int,input().split()))
c=[]
for i in range(n):
    if a[i]<=399:
        c.append('gray')
    elif a[i]<=799:
        c.append('br') 
    elif a[i]<=1199:
        c.append('green')
    elif a[i]<=1599:
        c.append('pb')
    elif a[i]<=1999:
        c.append('bl')
    elif a[i]<=2399:
        c.append('y')
    elif  a[i]<=2799:
        c.append('o')
    elif  a[i]<=3199:
        c.append('r')
x=n-len(c)
#3200以上の人数
c=list(set(c))
k=min(8,len(c)+x)
print(len(c),k)

Submission status: Runtime Error

Solution code:
ans1=sum(1 for x in array[:-1]if x>0)
ans=8-array.count(0)
if array[8]==0:
    ans+=1
else:
    ans+=array[8]
    if ans>8:
        ans=8
if ans1==0:
    ans1+=1

print(ans1,ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

l = g*b

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

Submission status: Runtime Error

Solution code:
# -*- coding:utf-7 -*-
r, g, b = map(int, input().strip().split())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
#define rep(i, n) for(int (i) = 0; (i) < (n); (i)++)
#define printd(x) printf("%.12f\n", ans);
#define print(x) cout << (x) << endl;
#define Yes() cout << "Yes" << endl;
#define No() cout << "No" << endl;
#define YES() cout << "YES" << endl;
#define NO() cout << "NO" << endl;
#define all(x) (x).begin(),(x).end()
#define printa(x, n) for(ll i = 0; i < n; i++) {cout << (x[i]) << " ";} cout << endl;
template<class T> bool chmin(T& a, const T& b) {if (a > b) {a = b; return 1;} return 0;}
template<class T> bool chmax(T& a, const T& b) {if (a < b) {a = b; return 1;} return 0;}
using namespace std;
using ll = long long;
using pll = pair<ll, ll>;

int main(void) {
    int a, b, c;
    cin >> a >> b >> c;

    cout <<( (b * 10 + c) % 4 == 0 ? "YES" : "NO")<<endl;

    return 0;
}

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(false); cin.tie(0);
#define FOR(i,s,n) for(int i = s; i < (n); i++)
#define REP(i,n) FOR(i,0,n)
#define ALL(n) (n).begin(), (n).end()
#define RALL(n) (n).rbegin(), (n).rend()
#define ATYN(n) cout << ( (n) ? "Yes":"No") << '\n';
#define CFYN(n) cout << ( (n) ? "YES":"NO") << '\n';
#define OUT(n) cout << (n) << '\n';
using ll = long long;
using ull = unsigned long long;
using pii = pair<int,int>;
using pll = pair<ll,ll>;

int main(void)
{
    IOS
    int r, g, b;
    cin >> r >> g >> b;
    int x = r * 100 + g * 10 + b;
    CFYN(x % 4 == 0)

    return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
c = int((a + b) / 2)
print(c) if c == (a + b) else print(c + 1)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=int(input())
a=list(map(int,input().split()))
li = [0]*9
for i in a:
  if i < 400:
    li[0]+=1
  elif i < 800:
    li[1]+=1
  elif i < 1200:
    li[2]+=1
  elif i < 1600:
    li[3]+=1
  elif i < 2000:
    li[4]+=1
  elif i < 2400:
    li[5]+=1
  elif i<2800:
    li[6]+=1
  elif i<3200:
    li[7]+=1
  else:
    li[8]+=1
li_ = [i for i in li[:-1] if i>0]
num = len(li_)
if num==0:
  print(1,n)
else:
  print(num, num + li[-1])

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
r=input()
g=input()
b=input()

r=int(r)
g=int(g)
b=int(b)

if print(rgb)/4=0:
  return 'Yes'
else:
  return 'No'

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())
lst = [0] * 9

for x in [int(x) for x in input().split()]:
    if x <= 399:
        lst[0] = 1
    elif x <= 799:
        lst[1] = 1
    elif x <= 1199:
        lst[2] = 1
    elif x <= 1599:
        lst[3] = 1
    elif x <= 1999:
        lst[4] = 1
    elif x <= 2399:
        lst[5] = 1
    elif x <= 2799:
        lst[6] = 1
    elif x <= 3199:
        lst[7] = 1
    else:
        lst[8] += 1

a = sum(lst[:-1])
b = lst[8]
if a == 0 and b > 0:
    print("1 {0}".format(b))
else:
    print("{0} {1}".format(a, a + b))

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
color_list = [0]*9

x = input()

score_lists = list(map(int, input().split()))

for i in score_lists:
    if i < 400:
        if color_list[0] == 0:
            color_list[0] = 1
    elif i < 800:
        if color_list[1] == 0:
            color_list[1] = 1
    elif i < 1200:
        if color_list[2] == 0:
            color_list[2] = 1
    elif i < 1600:
        if color_list[3] == 0:
            color_list[3] = 1
    elif i < 2000:
        if color_list[4] == 0:
            color_list[4] = 1
    elif i < 2400:
        if color_list[5] == 0:
            color_list[5] = 1
    elif i < 2800:
        if color_list[6] == 0:
            color_list[6] = 1
    elif i < 3200:
        if color_list[7] == 0:
            color_list[7] = 1
    else:
        color_list[8] = color_list[8] + 1

ans_min = color_list[0] + color_list[1] + color_list[2] + color_list[3] + color_list[4]\
     + color_list[5] + color_list[6] + color_list[7]

if ans_min == 0 and color_list[8] != 0:
    ans_min = 1

ans_max = color_list[0] + color_list[1] + color_list[2] + color_list[3] + color_list[4]\
     + color_list[5] + color_list[6] + color_list[7] + color_list[8]

if ans_max > 8:
    ans_max = 8

print(ans_min, ans_max)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

a = 100*r + 10*g + b

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

Submission status: Runtime Error

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

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

if (a * b) % 2:
    print('Odd')
else:
    print('Even')

Submission status: Runtime Error

Solution code:
rgb=list(map(str,input().split()))
X=int(join(rgb))
ans = "Yes" if X%4==0 else "No"
print(ans)

Submission status: Runtime Error

Solution code:
rgb=list(map(int,input().split()))
rgb.sorted()
X=int(join(rgb))
ans = "Yes" if X%4==0 else "No"
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
sys.setrecursionlimit(200000)

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

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

Submission status: Runtime Error

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

min_color = 0
max_color = 0

cnt = 0

color = [0] * 8

for i in a:
    if i < 400 and color[0] == 0:
        min_color += 1
        max_color += 1
        color[0] = 1

    elif 400 <= i and i < 800 and color[1] == 0:
        min_color += 1
        max_color += 1
        color[1] = 1

    elif 800 <= i and i < 1200 and color[2] == 0:
        min_color += 1
        max_color += 1
        color[2] = 1

    elif 1200 <= i and i < 1600 and color[3] == 0:
        min_color += 1
        max_color += 1
        color[3] = 1

    elif 1600 <= i and i < 2000 and color[4] == 0:
        min_color += 1
        max_color += 1
        color[4] = 1

    elif 2000 <= i and i < 2400 and color[5] == 0:
        min_color += 1
        max_color += 1
        color[5] = 1

    elif 2400 <= i and i < 2800 and color[6] == 0:
        min_color += 1
        max_color += 1
        color[6] = 1

    elif 2800 <= i and i < 3200 and color[7] == 0:
        min_color += 1
        max_color += 1
        color[7] = 1

    elif i >= 3200:
        max_color += 1
        cnt += 1

if cnt == N:
    min_color = 1

print(min_color, max_color)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

n = r + g + b

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

num = r + g + b
num = int(num)

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

Submission status: Runtime Error

Solution code:
N = int(input())

rate = list( map(int, input().split()))

color = [0] * 8
free = 0

a = 400 
    
for i in range(0,N):
    if rate[i] < a:
        color[0] = 1
    elif a <= rate[i] < 2*a:
        color[1] = 1
    elif 2*a <= rate[i] < 3*a:
        color[2] = 1
    elif 3*a <= rate[i] < 4*a:
        color[3] = 1
    elif 4*a <= rate[i] < 5*a:
        color[4] = 1
    elif 5*a <= rate[i] < 6*a:
        color[5] = 1
    elif 6*a <= rate[i] < 7*a:
        color[6] = 1
    elif 7*a <= rate[i] < 8*a:
        color[7] = 1
    elif 8*a <= rate[i]:
        free += 1
        

min_color = 0
max_color = 0

print( max(color.count(1),1), color.count(1) + free)

Submission status: Runtime Error

Solution code:
N = int(input())

rate = list( map(int, input().split()))

color = [0] * 9

a = 400 
flag = 1
    
for i in range(0,N):
    if 8*a <= rate[i]:
        color[8] += 1
    else:
        flag = 0
        if rate[i] < a:
            color[0] = 1
        elif a <= rate[i] < 2*a:
            color[1] = 1
        elif 2*a <= rate[i] < 3*a:
            color[2] = 1
        elif 3*a <= rate[i] < 4*a:
            color[3] = 1
        elif 4*a <= rate[i] < 5*a:
            color[4] = 1
        elif 5*a <= rate[i] < 6*a:
            color[5] = 1
        elif 6*a <= rate[i] < 7*a:
            color[6] = 1
        elif 7*a <= rate[i] < 8*a:
            color[7] = 1

min_color = 0
max_color = 0


min_color = color.count(1)
max_color = min_color + color[8]
if max_color >= 8:
    max_color = 8

print(min_color,max_color)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Solution code:
a = ""
b = list(map(int, input().split()))
for i in range(3):
  a += b[i]
if int(a)%4:
  print("NO")
else:
  print("YES")

Submission status: Runtime Error

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

x = 10*g + b

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

Submission status: Runtime Error

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

x = 10*g + b

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

Submission status: Runtime Error

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

x = 10*g + b

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

sys.setrecursionlimit(1000000)
mod = 1000000007

def solve():
    r,g,b = LI()
    ans = ["YES","NO"]
    print(ans[(((((g<<1)&b)<<1)+((g<<1)^b))&3)>>int(math.log(max(1,(((((g<<1)&b)<<1)+((g<<1)^b))&3)&(-(((((g<<1)&b)<<1)+((g<<1)^b))&3))),2))])
    return

#Solve
if __name__ == "__main__":
    solve()

Submission status: Runtime Error

Solution code:
N=int(input())
A = list(map(int, input().split()))
gray=any([1<=i<=399 for i in A])
brown=any([400<=i<=799 for i in A])
green=any([800<=i<=1199 for i in A])
sky=any([1200<=i<=1599 for i in A])
blue=any([1600<=i<=1999 for i in A])
yellow=any([2000<=i<=2399 for i in A])
orange=any([2400<=i<=2799 for i in A])
red=any([2800<=i<=3199 for i in A])
color_list=[gray,brown,green,sky,blue,yellow,orange,red]
count= color_list.count(True)
change=len([i for i in A if 3200<=i])
if count==0:
    print(1,change)
else:
    print(count,count+change)

Submission status: Runtime Error

Solution code:
n=int(input())
l=list(map(int,input().split()))
col=[False for i in range(8)]
val=0
count=0
for i in range(n):
  m=l[i]
  if m<400:
    col[0]=True
  if 400<=m<800:
    col[1]=True
  if 800<=m<1200:
    col[2]=True
  if 1200<=m<1600:
    col[3]=True
  if 1600<=m<2000:
    col[4]=True
  if 2000<=m<2400:
    col[5]=True
  if 2400<=m<2800:
    col[6]=True
  if 2800<=m<3200:
    col[7]=True
  if m>=3200:
    val+=1
for i in range(8):
  if col[i]:
    count+=1
print(count,min(8,count+val))

Submission status: Runtime Error

Solution code:
from sys import stdin
r, g, b = stdin.readline().rstrip().split()
a = 100*r+10*g+b
if a%4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Runtime Error

Solution code:
r < 9
g < 9
b < 9

n = rgb
 if

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N,A=int(input()),int(input())
print('Yes' if N%500<=A else 'No')

Submission status: Runtime Error

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

A = 100*r + 10*g + b

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

Submission status: Runtime Error

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

A = 100*r + 10*g + b

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

Submission status: Runtime Error

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

A = r + g + b

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

Submission status: Runtime Error

Solution code:
r = int(input())
g = int(input())
b = int(input())

A = r + g + b

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys

input = sys.stdin.readline


def main():
    print("YES" if int(input()) % 4 == 0 else "NO")


if __name__ == "__main__":
    main()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
print(int(input().replace(" ","",3))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A = list(map(int, input()))
print('YES' if int(A[1]+A[2])%4 ==0 else 'NO')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N=int(input())
A=list(map(int,input().split()))
gray=0
brown=0
green=0
light=0
blue=0
yellow=0
orange=0
red=0
god=0
for a in A:
  if 1<=a and a<=399 and gray==0:
    gray=1
  elif 400<=a and a<=799 and brown==0:
    brown=1
  elif 800<=a and a<=1199 and green==0:
    green=1
  elif 1200<=a and a<=1599 and light==0:
    light=1
  elif 1600<=a and a<=1999 and blue==0:
    blue=1
  elif 2000<=a and a<=2399 and yellow==0:
    yellow=1
  elif 2400<=a and a<=2799 and orange==0:
    orange=1
  elif 2800<=a and a<=3199 and red==0:
    red=1
  elif a>=3200:
    god+=1
mi=max(1,gray+brown+green+light+blue+yellow+orange+red)
ma=gray+brown+green+light+blue+yellow+orange+red+god
print(mi,ma)

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
c=a*b
if c%2==0:
    print('Even')
else:
    print('Odd')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

four = b+c

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# https://atcoder.jp/contests/abc064/tasks/abc064_a
a = int("".join(input()))
if a % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Runtime Error

Solution code:
# https://atcoder.jp/contests/abc064/tasks/abc064_a

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
input()
a = list(map(int, input().split()))
print(max(a) - min(a))

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
rgb = int(input())

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
r, g, b = int(input)
N = r*100 + g*10 + b

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

Submission status: Runtime Error

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

Solution code:
r,g,b = map(int, input().split())
if b & 3:
  print('NO')
else:
  printt('YES')

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
import sys
import copy
import collections
from bisect import bisect_left
from bisect import bisect_right
from collections import defaultdict
from heapq import heappop, heappush
import math
import itertools
 
# NO, PAY-PAY
#import numpy as np
#import statistics
#from statistics import mean, median,variance,stdev
 
def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))
 
def main():
    r,g,b = inputMap()
    
    tmp = str(r) + str(g) + str(b)
    tmp1 = int(tmp)
    
    if tmp % 4 == 0:
        print("YES")
    else:
        print("NO")
    
        
if __name__ == "__main__":
	main()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
import itertools
sys.setrecursionlimit(10**5)
stdin = sys.stdin
bisect_left = bisect.bisect_left
bisect_right = bisect.bisect_right
def LI(): return list(map(int, stdin.readline().split()))
def LF(): return list(map(float, stdin.readline().split()))
def LI_(): return list(map(lambda x: int(x)-1, stdin.readline().split()))
def II(): return int(stdin.readline())
def IF(): return float(stdin.readline())
def LS(): return list(map(list, stdin.readline().split()))
def S(): return list(stdin.readline().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float('INF')

#A
def A():
    _, b, c = LS()
    x = int(b + c) % 4
    if not x:
        print("YES")
    else:
        print("NO")
    return

#B
def B():
    return

#C
def C():
    return

#D
def D():
    return

#E
def E():
    return

#F
def F():
    return

#G
def G():
    return

#H
def H():
    return

#Solve
if __name__ == '__main__':
    A()

Submission status: Runtime Error

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