Chef is playing in a T20 cricket match. In a match, Team A plays for 20 overs. In a single over, the team gets to play 6 times, and in each of these 6 tries, they can score a maximum of 6 runs. After Team A's 20 overs are finished, Team B similarly plays for 20 overs and tries to get a higher total score than the first team. The team with the higher total score at the end wins the match.

Chef is in Team B. Team A has already played their 20 overs, and have gotten a score of $R$. Chef's Team B has started playing, and have already scored $C$ runs in the first $O$ overs. In the remaining $20 - O$ overs, find whether it is possible for Chef's Team B to get a score high enough to win the game. That is, can their final score be strictly larger than $R$?

------ Input: ------
There is a single line of input, with three integers, $R, O, C$. 

------ Output: ------
Output in a single line, the answer, which should be "YES" if it's possible for Chef's Team B  to win the match and "NO" if not.

You may print each character of the string in uppercase or lowercase (for example, the strings "yEs", "yes", "Yes" and "YES" will all be treated as identical).

------ Constraints  ------
$0 ≤ C ≤ R ≤ 720$
$1 ≤ O ≤ 19$
$0 ≤ C ≤ 36 * O$

----- Sample Input 1 ------ 
719 18 648
----- Sample Output 1 ------ 
YES
----- explanation 1 ------ 
In the remaining $20-O = 2$ overs, Team B gets to play $2*6 = 12$ times, and in each try, they can get a maximum of 6 score. Which means that the maximum score that they can acheieve in these 2 overs is $12*6 = 72$. Thus, the maximum total score that Team B can achieve is $C+72 = 720$. $720$ is strictly more than Team A's score of $719$, and hence Chef's Team B can win this match.

----- Sample Input 2 ------ 
720 18 648
----- Sample Output 2 ------ 
NO
----- explanation 2 ------ 
Similar to the previous explanation, the maximum total score that Team B can achieve is $720$, which isn't strictly greater than Team A's $720$.Hence Chef's Team B can't win this match.

Source: codechef | Difficulty: EASY
Tags: Mathematics


Solutions:
(r, o, c) = map(int, input().split())
print('YES') if (20 - o) * 36 + c > r else print('NO')


(r, o, c) = list(map(int, input().split()))
x = 20 - o
y = x * 6
z = y * 6
t = z + c
if t <= r:
	print('NO')
else:
	print('YES')


(r, o, c) = map(int, input().split())
rem = (20 - o) * 6 * 6 + c
if rem > r:
	print('YES')
else:
	print('NO')


(a, b, c) = map(int, input().split())
o = (20 - b) * 36
if o + c > a:
	print('YES')
else:
	print('NO')


(r, o, c) = map(int, input().split())
w = 20 - o
x = w * 6
y = x * 6
if y + c > r:
	print('YES')
else:
	print('NO')


(x, y, z) = map(int, input().split())
s = (20 - int(y)) * 6 * 6
p = z + s
if p > x:
	print('YES')
else:
	print('NO')


(a, b, c) = map(int, input().split())
k = 20 - b
l = k * 6
h = l * 6
z = h + c
if z > a:
	print('YES')
else:
	print('NO')


(x, y, z) = map(int, input().split())
if x < (20 - y) * 36 + z:
	print('YES')
else:
	print('NO')


def run(r, o, c):
	p = (20 - o) * 6
	q = p * 6
	if c + q > r:
		return 'YES'
	else:
		return 'NO'
(r, o, c) = map(int, input().split())
v = run(r, o, c)
print(v)


(a, b, c) = map(int, input().split())
x = 20 - b
if c + x * 6 * 6 > a:
	print('YES')
else:
	print('NO')


(r, o, c) = map(int, input().split())
total_runs = (20 - o) * 6 * 6
req_runs = r - c
if req_runs < total_runs:
	print('YES')
else:
	print('NO')


(r, o, c) = list(map(int, input().split()))
left_overs = (20 - o) * 6 * 6
if left_overs + c > r:
	print('YES')
else:
	print('NO')


(A, B, C) = map(int, input().split())
D = (20 - B) * 6
T = D * 6
if T + C > A:
	print('YES')
else:
	print('NO')


(a, b, c) = map(int, input().split())
d = (20 - b) * 6
t = d * 6
if t + c > a:
	print('YES')
else:
	print('NO')


(x, y, z) = map(int, input().split(' '))
remaning_overs = int(20 - y)
maximum_runs = int(remaning_overs * 36)
ans = int(z + maximum_runs)
if ans > x:
	print('YES')
else:
	print('NO')


def pv(r, o, c):
	if (20 - o) * 36 + c > r:
		print('YES')
	else:
		print('NO')
(x, y, z) = map(int, input().split())
ans = pv(x, y, z)


(r, o, c) = list(map(int, input().split()))
k = 20 - o
p = k * 6
l = p * 6
m = c + l
if m > r:
	print('YES')
else:
	print('NO')


(R, O, C) = map(int, input().split())
balls_left = (20 - O) * 6
max_runs_possible = balls_left * 6
tot_score = C + max_runs_possible
if tot_score > R:
	print('YES')
else:
	print('NO')


(x, y, z) = map(int, input().split())
c = x + 1 - z
j = (20 - y) * 6 * 6
if c <= j:
	print('YES')
else:
	print('NO')