The ZCO Scholarship Contest has just finished, and you finish with a rank of R. You know that Rank 1 to Rank 50 will get 100 \% scholarship on the ZCO exam fee and Rank 51 to Rank 100 will get 50 \% percentage scholarship on the ZCO exam fee. The rest do not get any scholarship.   
What percentage of scholarship will you get ?

------ Input Format ------ 

- Input consist of single line of input containing one integer R.

------ Output Format ------ 

- Output a single line containing one integer — the percentage of scholarship you will get.

------ Constraints ------ 

$1 ≤R  ≤10^{9}$

----- Sample Input 1 ------ 
49
----- Sample Output 1 ------ 
100
----- explanation 1 ------ 
Since $ 1 ≤ 49 ≤ 50$, answer is $100$ percentage scholarship.

----- Sample Input 2 ------ 
317
----- Sample Output 2 ------ 
0
----- explanation 2 ------ 
Since $317 > 100$, you do not get any scholarship.

Difficulty: EASY
Tags: Ad-hoc

Starter code:

Solutions:
r = int(input())
if r >= 1 and r <= 50:
	print('100')
elif r > 50 and r <= 100:
	print('50')
else:
	print('0')


R = int(input())
if R >= 1 and R <= 50:
	print(100)
elif R >= 51 and R <= 100:
	print(50)
else:
	print(0)


r = int(input())
if r <= 50:
	print('100')
elif 50 < r <= 100:
	print('50')
else:
	print('0')


r = int(input())
if 1 <= r <= 50:
	print(100)
elif 51 <= r <= 100:
	print(50)
else:
	print(0)


t = int(input())
if 1 <= t <= 50:
	print(100)
elif 51 <= t <= 100:
	print(50)
else:
	print(0)


a = int(input())
if a <= 50:
	print('100')
elif a >= 51 and a <= 100:
	print('50')
else:
	print('0')


R = int(input())
if 0 < R and R <= 50:
	print('100')
elif 50 < R and R <= 100:
	print('50')
else:
	print('0')


s = int(input())
if 0 < s <= 50:
	print(100)
elif 50 < s <= 100:
	print(50)
else:
	print(0)


n = int(input())
if n <= 50:
	print(100)
elif 51 <= n <= 100:
	print(50)
elif n > 100:
	print(0)


mark = int(input())
if 1 <= mark <= 50:
	print('100')
elif 51 <= mark <= 100:
	print('50')
else:
	print('0')


n = int(input())
if 1 <= n <= 50:
	print('100')
elif 51 <= n <= 100:
	print('50')
else:
	print('0')


rank = int(input())
if 1 <= rank <= 50:
	print('100')
elif 51 <= rank <= 100:
	print('50')
else:
	print('0')


n = int(input())
if n <= 50:
	print(100)
elif n <= 100:
	print(50)
else:
	print(0)


k = int(input())
if k < 51:
	print(100)
elif 51 <= k <= 100:
	print(50)
else:
	print(0)


n = int(input())
if n >= 1 and n <= 50:
	print('100')
elif n > 50 and n <= 100:
	print('50')
else:
	print('0')


n = int(input())
if n > 0 and n < 51:
	print(100)
elif n > 50 and n < 101:
	print(50)
else:
	print(0)


R = int(input())
print(100 if R < 51 else 50 if R < 101 else 0)


a = int(input())
if a <= 50:
	print(100)
elif a <= 100:
	print(50)
elif a > 100:
	print(0)


def beasiswa(rank):
	if rank <= 50:
		print(100)
	elif rank <= 100:
		print(50)
	else:
		print(0)
beasiswa(int(input()))


r = int(input())
if r <= 50:
	sch = 100
elif r > 50 and r <= 100:
	sch = 50
else:
	sch = 0
print(sch)


r = int(input())
if r <= 50:
	print('100')
elif r <= 100 and r >= 51:
	print('50')
else:
	print('0')


R = int(input())
if R in range(1, 51):
	print('100')
elif R in range(50, 101):
	print('50')
else:
	print('0')


x = int(input())
if x <= 50:
	print('100')
elif x <= 100:
	print('50')
else:
	print('0')


p = int(input())
if 1 <= p <= 50:
	print(100)
elif 51 <= p <= 100:
	print(50)
else:
	print(0)


p = int(input())
if p <= 50:
	print('100')
elif p <= 100:
	print('50')
else:
	print('0')


rank = int(input())
if rank >= 1 and rank <= 50:
	print(100)
elif rank > 50 and rank <= 100:
	print(50)
else:
	print(0)


num = int(input())
if 1 <= num <= 50:
	print(100)
elif 51 <= num <= 100:
	print(50)
else:
	print(0)


r = int(input())
if r <= 50:
	print(100)
elif r > 50 and r < 101:
	print(50)
else:
	print(0)


n = int(input())
x = 100 if n <= 50 else 50 if n <= 100 else 0
print(x)