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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
r,g,b = (int(x) for x in input().split())
1 <= r,g,b <= 9
c = r + g + b
d = (c) % 4
if d == 0:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int, input().split())  #複数数値入力　「A B」みたいなスペース空いた入力のとき
d = int(str(a)+str(b)+str(c)) % 4
print(d)
if d != 0:
    print('NO')
else:
    print('YES')

Submission status: Wrong Answer

Solution code:
a,b,c=map(int, input().split())  #複数数値入力　「A B」みたいなスペース空いた入力のとき
d = int(a+b+c) % 4
if d != 0:
    print('NO')
else:
    print('YES')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if s % 4:
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

num = r * 100 + g * 10 + b

if num % 4:
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

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

num = r * 100 + g * 10 + b
print(num)
if num % 4:
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
r = list(map(str,input().split()))
s = int(r[0]+r[1]+r[2])
if s%4==0:
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
l=[int(x) for x in input().split()]
 
if (100*l[0]+10*l[1]+l[2])%4 == 0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

if (l[0]+l[1]+l[2])%4 == 0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from sys import stdin

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

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

Submission status: Wrong Answer

Solution code:
from sys import stdin

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
array = input().split()
score = int(array[1]) * 10 + int(array[2])
if score % 4 == 0:
   print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input().split()
xx = int("".join(x))
if xx % 4 == 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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(2,max(2,(((((g<<1)&b)<<1)+((g<<1)^b))&3)&(-(((((g<<1)&b)<<1)+((g<<1)^b))&3)))))])
    return

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# A - RGB Cards
r, g, b = [int(s) for s in input().split()]
number = int(r + g + b)
print('YES' if number % 4 == 0 else 'NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
"""
author : halo2halo
date : 24,Oct,2019
"""

import sys
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

a, b, c = map(int, readline().rstrip().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

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

Submission status: Wrong Answer

Solution code:

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

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

Submission status: Wrong Answer

Solution code:

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
rgb = int(input()[::2])
print(rgb)

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
r=a[0]
g=a[1]
b=a[2]

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
r,g,b = map(int,open(0).read().split())

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

Submission status: Wrong Answer

Solution code:
r,g,b = map(int,open(0).read().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys
import os

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int("".join(input().split()))
if n % 4 == 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    a,b,c=INTM()
    if (a*100+b*10*c)%4 == 0:
        print('YES')
    else:
        print('NO')
if __name__ == '__main__':
    do()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
   
r,g,b=map(int,input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

if (n[0]*100 + n[1]*10 + n[2])%4 == 0:
    print('YES' )
else:
    print('No')

Submission status: Wrong Answer

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

four = b+c

if (int(four))%4 == 0:

  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

four = b+c

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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


if (x[1]*10+x[2])%4 == 0:
    print("YES")
else:
    print("N0")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

S = r + g + b

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Solution code:
a,b,c=list(map(int,input().split()))
d=100*a+10*b+c
print("Yes" if d%4==0 else "No")

Submission status: Wrong Answer

Solution code:
#064A
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: Wrong Answer

Solution code:
r,g,b=(int(i) for i in input().split())
a = g*10+b
if a == 25 or  a == 50 or a == 75 or a ==100:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
import sys

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

if 1 > int(r) or 1 > int(g) or 1 > int(b) or 9 < int(r) or 9 < int(g) or 9 < int(b):
    sys.exit()

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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
import random
 
# 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():
    l = ["YES", "NO"]
    
    print(random.choice(l))
    
        
if __name__ == "__main__":
	main()

Submission status: Wrong Answer

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

X = g * 10 + b

if X % 4 == 0:
    print('Yes')

else:
     print('NO')

Submission status: Wrong Answer

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

X = 100 * r + g * 10 + b

if X % 4 == 0:
    print('Yes')

else:
     print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
 
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

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

Submission status: Wrong Answer

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
 
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

r, g, b = MAP()
c = 100 * r + 10 * g + b
if c % 4:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#coding: utf-8
input = input().split()
a = int(input[0])
b = int(input[1])
c = int(input[2])
x = a * b * c
if x%4==0:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = input().split()
sn = ""
for i in N:
    sn += i
print('Yes' if int(sn) % 4 == 0 else 'No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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


abc()

Submission status: Wrong Answer

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


abc()

Submission status: Wrong Answer

Solution code:
r, g, b = [x for x in input().split()]
print('Yes') if int(r+g+b)%4 == 0 else print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B, C = map(str, input().split())

if int(A+B+C)%2==0:
    print ("YES")
else:
    print ("NO")

Submission status: Wrong Answer

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

n = r+g+b
flg = "No"
if int(n)%4 == 0:
    flg = "Yes"
    
print(flg)

Submission status: Wrong Answer

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

n = r+b+g
flg = "No"
if int(n)%4 == 0:
    flg = "Yes"
    
print(flg)

Submission status: Wrong Answer

Solution code:
r,g,b = map(str, input().split())
print(["Yes","No","No","No"][int(r+g+b)%4])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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