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.

Solution in Go (1.6) (judge verdict: Wrong Answer)

package main

import "fmt"

func main() {
	var n, c, min, max int
	fmt.Scan(&n)

	var colors = make([]bool, 8)

	for i := 0; i < n; i++ {
		fmt.Scan(&c)

		ccode := -1
		switch {
		case 1 <= c && c <= 399:
			ccode = 0
		case 400 <= c && c <= 799:
			ccode = 1
		case 800 <= c && c <= 1199:
			ccode = 2
		case 1200 <= c && c <= 1599:
			ccode = 3
		case 1600 <= c && c <= 1999:
			ccode = 4
		case 2000 <= c && c <= 2399:
			ccode = 5
		case 2400 <= c && c <= 2799:
			ccode = 6
		case 2800 <= c && c <= 3199:
			ccode = 7
		case 3200 <= c:
			max++
		}

		if ccode != -1 && !colors[ccode] {
			colors[ccode] = true
			min++
			max++
		}
	}
	fmt.Printf("%d %d\n", min, max)
}