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:
# AtCoDeer君は、赤、緑、青色のカードを持っています。
# それぞれのカードには 1 以上 9 以下の整数が書かれており、
# 赤色のカードには r、緑色のカードには g、
# 青色のカードには b が書かれています。
# 3つのカードを左から順に赤、緑、青色の順に並べ、
# 左から整数を読んだときにこれが 4の倍数であるか判定しなさい。

# 制約
# 1 ≦ r, g, b ≦ 9

# 標準入力から r, g , b の値を取得する
r, g, b = map(int, input().split())

# 3桁の数値（agbと並べた数値）が 4の倍数かを判定し、結果を出力する
input_rgb = r * 100 + g * 10 + b
result = "ret"

if input_rgb % 4 == 0:
    result = "YES"
else:
    result = "NO"

print(result)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
r, g, b = (int(x) for x in 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(str, input().split())

sumstr = r + g + b
sumint = int(sumstr)

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

Submission status: Accepted

Solution code:
# 文字列として入力
r, g, b = map(str, input().split())

# 連結
RGB = r + g + b

# 整数に戻して4で割る
if int(RGB) % 4 == 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
# AtCoDeer君は、赤、緑、青色のカードを持っています。
# それぞれのカードには1以上9以下の整数が書かれており、赤色のカードにはr、緑色のカードにはg、青色のカードにはbが書かれています。
# 3つのカードを左から順に赤、緑、青色の順に並べ、左から整数を読んだときにこれが4の倍数であるか判定しなさい。

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

if 1 <= r <=9 and 1 <= g <=9 and 1 <= b <=9 and (100 * r + 10 * g + b) %   4 == 0: # rを100倍、gを10倍にして、それぞれ100の位、10の位とする。
    print('YES')

else:
    print('NO')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

number = int(r + g + b)

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

Submission status: Accepted

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

Submission status: Accepted

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

answer = r * 100 + g * 10 + b

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

Submission status: Accepted

Solution code:
#   AtCoder abc064 a
#   ストレッチ課題

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

#   処理
answer = r * 100 + g *10 + b

#   判定
if (answer % 4) == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

# 出力
if 1 <= r and g and b <= 9:
    if ((r * 100) + (g * 10) + b) % 4 == 0:
        print('YES')
    else:
        print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 各数値を取得
r,g,b = map(int,input().split())

# 3桁の数字の作成し検証
num = (r * 100) + (g * 10) + b
if num % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
d = a*100+b*10+c
if d%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:
# vim: fileencoding=utf-8


def main():
    x, y, z = input().split()
    num = int(x + y + z)
    if num % 4:
        print("NO")
    else:
        print("YES")


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# 064a

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

sum = r * 100 + g * 10 + b

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

num = int(r + g + b)
rem = num % 4

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

# rgbを、100の位・10の位、1の位の順に表示
# 4の倍数の場合は「YES」、そうじゃない時は「NO」
if (100 * r + 10 * g + b) % 4 == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys, re
from math import ceil, floor, sqrt, pi, factorial, gcd
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left, bisect_right
from functools import reduce
from decimal import Decimal, getcontext
# input = sys.stdin.readline 
def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_str(N): return [s_list() for _ in range(N)]
def s_row_list(N): return [list(s_input()) for _ in range(N)]
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7
num_list = []
str_list = []

def main():
    r, g, b = i_map()

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

if C % 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('NYOE S'[int(''.join(input().split()))%4==0::2])

Submission status: Accepted

Solution code:
a,b,c=input().split();print('NYOE S'[int(a+b+c)%4==0::2])

Submission status: Accepted

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

r, g, b = S_list[0], S_list[1], S_list[2]
if (10 * g + b) % 4 == 0 :
    result = "YES"
else:
    result = "NO"
print(result)

Submission status: Accepted

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

Submission status: Accepted

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

r, g, b = S_list[0], S_list[1], S_list[2]
if (100 * r + 10 * g + b) % 4 == 0 :
    result = "YES"
else:
    result = "NO"
print(result)

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
# A - RGB Cards

# 赤、緑、青色のカードを持っている
# それぞれのカードには 1以上9以下の整数が書かれている

# 赤色のカード r
# 緑色のカード g
# 青色のカード b

# 3つのカード を 左から r g b と並べて、左から整数を読む
# 4の倍数である場合 YES そうでない場合 NO と出力

# r g b を標準入力から得る
r, g, b = map(int, input().split(maxsplit=3))
# print(r, g, b)

# 整数を計算する
# r * 100, g * 10
integer_rgb = (r * 100) + (g * 10) + b
# print(integer_rgb)

# 4で割った余りが 0　の時　YES
# それ以外は NO

if integer_rgb % 4 == 0:
    answer = "YES"
else:
    answer = "NO"

# 結果を出力
print(answer)

Submission status: Accepted

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

if int(r+g+b)%4==0:
#出力は整数
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

if int(''.join([r,g,b]))%4==0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r, g, b = map(str, input().split())
#r,g,bを3桁の数xに変換
x = int(r + g + b)
if x % 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:
# 文字列として、red, green, blue の数字を出力
red_num, green_num, blue_num = map(str, input().split())

# ３つの文字列を合わせる。
join_three_num = red_num + green_num + blue_num

# 文字列を数字に変換。
three_digit_int = int(join_three_num)

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

Submission status: Accepted

Solution code:
R,G,B=map(str,input().split())
ans="NO"
num=int(R+G+B)
if num%4==0:
    ans="YES"
print(ans)

Submission status: Accepted

Solution code:

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

answer = r * 100 + g * 10 + b

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

Submission status: Accepted

Solution code:

a, b, c = map(str, input().split())
num = int(a + b + c)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
n = int(input().replace(' ', ''))
if n % 4 == 0:
    print("YES")
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

sum = 100*r + 10*g + b

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#
# abc064 a
#
import sys
from io import StringIO
import unittest


def input():
    return sys.stdin.readline().rstrip()


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """4 3 2"""
        output = """YES"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """2 3 4"""
        output = """NO"""
        self.assertIO(input, output)


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


if __name__ == "__main__":
    # unittest.main()
    resolve()

Submission status: Accepted

Solution code:
#
# abc064 a
#
import sys
from io import StringIO
import unittest

def input():
    return sys.stdin.readline().rstrip()

class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """4 3 2"""
        output = """YES"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """2 3 4"""
        output = """NO"""
        self.assertIO(input, output)


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


if __name__ == "__main__":
    # unittest.main()
    resolve()

Submission status: Accepted

Solution code:
#
# abc064 a
#
import sys
from io import StringIO
import unittest


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """4 3 2"""
        output = """YES"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """2 3 4"""
        output = """NO"""
        self.assertIO(input, output)


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


if __name__ == "__main__":
    # unittest.main()
    resolve()

Submission status: Accepted

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

s = r * 100 + g * 10 + b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s_val = "".join(input().split())
i_val = int(s_val)

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

Submission status: Accepted

Solution code:
vals = input().split()
s_val = ""
for v in vals:
  s_val = s_val + v
 
i_val = int(s_val)

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

Submission status: Accepted

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

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

  
if __name__ == "__main__":
  main()

Submission status: Accepted

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

N = r * 100 + g * 10 + b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().strip()

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

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
#k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
#a = [list(input()) for _ in range(n)]



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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

t = int(r+g+b)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

S = 100 * a + 10 * b + c

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

rgb = 100*r + 10*g + b

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

Submission status: Accepted

Solution code:
# # Make IO faster
# import sys
# input = sys.stdin.readline

# # get single (or) multiple str
# X = input()

# # get single int
# N = int(input())
# # get multiple int (e.g., 2)
# X, Y = map(int, input().split())
# # get multiple int (e.g., 2) for N lines
# XY = [list(map(int, input().split())) for _ in range(N)]

# from IPython import embed; embed(); exit();

# 全部入り
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
import numpy as np
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()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().strip()
def mapint(): return map(int, input().split())
sys.setrecursionlimit(10**9)

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007


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

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

    return


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
#-------------
r,g,b = map(int,input().split())
#-------------
x = 100*r + 10*g + b
mod = x%4

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

s = 100*r + 10*g + b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print('YNEOS'[int(input()[::2])%4>0::2])

Submission status: Accepted

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

if int(a)%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")