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:
x=input()
y=int(x.split()[0]+x.split()[1]+x.split()[2])
if y%4==0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

suuji = a*100 + b*10 + c

if suuji%4 == 0:
    print("YES")

else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import numpy as np
from math import *
def get_read_func(fileobject):
    if fileobject == None :
        return raw_input
    else:
        return fileobject.readline

def main():
    if len(sys.argv) > 1:
        f = open(sys.argv[1])
    else:
        f = None
    read_func = get_read_func(f);
    input_raw = read_func().strip().split()
    rgb = int(input_raw[0])*100 + int(input_raw[1]) *10 + int(input_raw[2])
    if rgb % 4 == 0 :
        print 'YES'
    else:
        print 'NO'

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
rgb = [int(i) for i in input().split()]
num = 0
for i, n in enumerate(reversed(rgb)):
    num += n * (10 ** i)
if num % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#Python

A = map(int, raw_input().split())
#print A[0]
#print A[1]
#print A[2]
n=A[0]*100+A[1]*10+A[2]
#print n

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

Submission status: Accepted

Solution code:
nums = [int(x) for x in input().split()]
ans = nums[0]*100 + nums[1] * 10 + nums[2]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a= input().split(' ')
b = a[0]+a[1]+a[2]
if int(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:
print "YES" if int("".join(raw_input().split()))%4==0 else "NO"

Submission status: Accepted

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

n=a+b+c

if (int(n)%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 = [int(x) for x in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    r, g, b = list(input().split())

    target = int(r + g + b)

    # print(target)

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
Nums = raw_input().split()
prod = int(Nums[0]) * 100
prod += int(Nums[1]) * 10
prod += int(Nums[2])
# print prod
if(prod % 4 == 0):
	print "YES"
else:
	print "NO"

Submission status: Accepted

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

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:
data = input().split()
r = int(data[0])
g = int(data[1])
b = int(data[2])

num = 10*g + b

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

Submission status: Accepted

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

res = int(r + g + b)

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

Submission status: Accepted

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

a()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

def main():
    line = sys.stdin.readline()
    lst = line.split()
    r = int(lst[0])
    g = int(lst[1])
    b = int(lst[2])

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

if __name__ == '__main__':
    sys.exit(main())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding:utf-8

if __name__ == "__main__":
    num_list = input().split(" ")
    num = int("".join(num_list))

    if num % 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:
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().strip().split()
n = int('{}{}{}'.format(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 = 100*r + 10*g + b
if A % 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 = [int(x) for x in input().split(" ")]

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

Submission status: Accepted

Solution code:
#!/usr/bin/python

a = [int(i) for i in input().split()]

n = 100 * a[0] + 10 * a[1] + a[2]

if n % 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)

number = r*100+g*10+b

if number % 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:
import sys
a, b, c = map(int, sys.stdin.readline().split())
print ["NO", "YES"][(b * 10 + c) % 4 == 0]

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# coding: utf-8

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

rgb = int(r + g + b)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

n = a*100 + b*10 + c

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
import array, bisect, collections, copy, heapq, itertools, math, random, re, string, sys, time
sys.setrecursionlimit(10 ** 7)
INF = 10 ** 20
MOD = 10 ** 9 + 7


def II(): return int(input())
def ILI(): return list(map(int, input().split()))
def IAI(LINE): return [ILI() for __ in range(LINE)]
def IDI(): return {key: value for key, value in ILI()}


def read():
    r, g, b = ILI()
    return (r, g, b)


def solve(r, g, b):
    num = r * 100 + g * 10 + b
    num_div = num % 4
    if num_div == 0:
        ans = "YES"
    else:
        ans = "NO"
    return ans


def main():
    params = read()
    print(solve(*params))


if __name__ == "__main__":
    main()

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:
# -*- coding: utf-8 -*-
r, g, b = [int(n) for n in input().split()]
num = 100*r + 10*g +b
if num%4==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
def get_ln_inputs():
    return input().split()


def get_ln_int_inputs():
    return list(map(int, get_ln_inputs()))


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


main()

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print "YES"*(int(raw_input().replace(" ", ""))%4==0)or"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:
inpt = map(int, raw_input().split())
n = 100 * inpt[0] + 10 * inpt[1] + inpt[2]
if n % 4 == 0:
	print 'YES'
else:
	print 'NO'

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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


s = 100*r+10*b+g

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

Submission status: Runtime Error

Solution code:
r = int(input("r--->"))
g = int(input("g--->"))
b = int(input("b--->"))

if r < 0 and r > 9:
    print("0<=r<=9")
if g < 0 and g > 9:
    print("0<=g<=9")
if b < 0 and b > 9:
    print("0<=b<=9")

s = 100*r+10*b+g

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

Submission status: Runtime Error

Solution code:
r = int(input("r--->"))
g = int(input("g--->"))
b = int(input("b--->"))

if r < 0 and r > 9:
    print("0<=r<=9")
if g < 0 and g > 9:
    print("0<=g<=9")
if b < 0 and b > 9:
    print("0<=b<=9")

s = 100*r+10*b+g

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

Submission status: Runtime Error

Solution code:
r = int(input("r--->"))
g = int(input("g--->"))
b = int(input("b--->"))

s = r+b+g

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# 100の位r,10の位g,1の位ｂに整数を入力
r,g,b = map(int,input().split())
# 100r+10g+bが4の倍数ならYES、違うならNO
if (100r + 10g +b) // 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
r,g,b = map(str,input().split())
list_C = [r,g,b]
num = int(''.join(list_c))
if num%4 == 0:
  print('YES')
else:
  print('NO')

Submission status: Runtime Error

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


# 処理&出力
number = int(r + g + b)
if number % 4 == 0:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
#C - Colorful Leaderboard 
N = int(input())
a = list(map(int,input().split()))

mini = 0
color_list = []
for i in a:
    if (i//400)<8 and ((i//400 in color_list) == False):
        mini += 1
        color_list.append(i//400)

maxi = mini
for j in a:
    if maxi == 8:
        break
    if j >= 3200:
        maxi += 1
if mini == 0:#忘れてた
    mini = 1
print(mini,maxi)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

else:
    prinnt('No')

Submission status: Runtime Error

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

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

else:
    prinnt('No')

Submission status: Runtime Error

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


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

Submission status: Runtime Error

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


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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

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

Submission status: Runtime Error

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

if int("r+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 (r*100+g*10+b)%4==0:
    print("Yes")
else:
    print("No")
print()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

cnt = [0 for i in range(8)]
count = 0

for i in range(N):
    if 1<= a[i] <= 399:
        cnt[0] = 1
    elif 400<=a[i]<=799:
        cnt[1] = 1
    elif 800<=a[i]<=1199:
        cnt[2] = 1
    elif 1200<=a[i]<=1599:
        cnt[3] = 1
    elif 1600<=a[i]<=1999:
        cnt[4] = 1
    elif 2000<=a[i]<=2399:
        cnt[5] = 1
    elif 2400<=a[i]<=2799:
        cnt[6] = 1
    elif 2800<=a[i]<=3199:
        cnt[7] = 1
    else:
        count += 1

ans_min = sum(cnt)
ans_max = ans_min + count

print("{} {}".format(max(1,ans_min), ans_max))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
#dpでできないかな？
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from collections import defaultdict
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq import heapify, heappop, heappush
from math import floor, ceil,pi,factorial
from operator import itemgetter
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def LI2(): return [int(input()) for i in range(n)]
def MXI(): return [[LI()]for i in range(n)]
def SI(): return input().rstrip()
def printns(x): print('\n'.join(x))
def printni(x): print('\n'.join(list(map(str,x))))
inf = 10**17
mod = 10**9 + 7

n=I()
s=SI()
i=0
state=1
count=0
l=[];r=[]
for i in range(n):
    if state==1:
        if s[i]=="(":
            count+=1
        elif s[i]==")":
            l.append(count)
            state=-1
            count=1
    elif state==-1:
        if s[i]==")":
            count+=1
        elif s[i]=="(":
            r.append(count)
            state=1
            count=1
if s[-1]==")":
    r.append(count)
else:
    l.append(count)
    r.append(0)
'''print(l)
print(r)'''
minus,plus=0,0
for i in range(len(l)):
    if l[i]-r[i]<0:
        minus+=r[i]-l[i]
    else:
        plus+=l[i]-r[i]
for i in range(minus):
    print("(",end="")
print(s,end="")
for j in range(plus):
    print(")",end="")

Submission status: Runtime Error

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

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

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
import math
import bisect

def main():
    a = ''.join(input().split())
    if a % 4 == 0:
        print('YES')
    else:
        print('NO')
    
if __name__ == "__main__":
    main()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

number = r * 100 + g * 10 + b

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

Submission status: Runtime Error

Solution code:

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

Submission status: Runtime Error

Solution code:
number = int(input())

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

else:
  print("NO")

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from sys import stdin


if __name__ == "__main__":
    _in = [_.rstrip() for _ in stdin.readlines()]
    r,g,b = list(map(int,_in[0].split(' ')))  # type:list(int)
    # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    TF = 'YES' if int(f'{r}{g}{b}')%4==0 else 'NO'
    # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    print(TF)

Submission status: Runtime Error

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

Solution code:
s=int(input().replace(' ',''))
print(['YES','NO'][s%4])

Submission status: Runtime Error

Solution code:
s=input()
print(['YES','NO'][int(s.replace(' ',''))%4])

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#Rgb Cards

Lst = list(input().split())
a = "".join(lst)
print("YES" if int(a) % 4 == 0 else "NO")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from collections import defaultdict

n = int(input())
a = list(map(int, input().split()))
ans = 0
cnt_free = sum(x >= 3200 for x in a)
for i in range(8):
    if sum(x >= 400 * i and x < 400 * (i + 1) for x in a) >= 1:
        ans += 1
print(max(1, ans))
print(min(8, ans + cnt_free))

Submission status: Runtime Error

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

Solution code:
import numpy as np
rate = [400 * i for i in range(0, 10)]

n = int(input())
a = list(map(int, input().split()))

cnt = np.array([0] * (9))
for i in range(n):
  for j in range(10):
    if rate[j] <= a[i] and a[i] < rate[j+1]:
      cnt[j] += 1

orig = (cnt[:8] > 0).sum()
mins = min(1, orig) if orig == 0 else orig
maxs = orig + cnt[-1]
print(mins, maxs)

Submission status: Runtime Error

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

total = 100*r + 10*g + b

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
s = input().split()
num = int(s)

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import numpy as np

n = int(input())
a = np.array(list(map(int, input().split())))

c = np.where(a < 3200, a//400, 8)
j = np.count_nonzero(c == 8)
ans = min(8, len(np.unique(c)) - 1 + j) if j else len(np.unique(c))
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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