while True:
	try:
		val = int(input('prompt'))
		break
	except ValueError:
		print('poshel nahui')
print(val)