number_of_student=input("enter student no.")
one_student_kharcha=input("enter ek student ka kharcha")

sum=number_of_student*one_student_kharcha

if sum<=50000:
	print "hum bugdet ke andar hai"
else:
	print "hum budget ke bahar hai"
print sum