import numpy as np

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

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

    print("YES")

else:

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

if int(r+g+b)%4==0:

    print("YES")

else:

    print("NO")
import numpy as np

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

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

-import numpy as np - -r, g, b = list(map(int, input().split())) -if (100 * r + 10 * g + b) % 4 == 0: +r, g, b = input().split() +if int(r + g + b) % 4 == 0: