def near(n):
	uitkomst = ""

	if n >= 90 and n <= 110:
		uitkomst = True, abs(100 - n) 
	
	elif n >= 190 and n <= 210:
		uitkomst = True, abs(200 - n)

	elif n < 90:
		uitkomst = False, 100 - n

	elif n > 110 and n <= 150:
		uitkomst = False, 100 - n

	elif n > 150 and n < 190:
		uitkomst = False, 200 - n

	else:
		uitkomst = False, abs(200 - n) 
	
	return uitkomst

print(near(89))
print(near(103))
print(near(195))
print(near(223))
print(near(64))
