Python
h =int (input("h")) y =int (input("g")) if h>=3 (y*0.7): if y>=300: y= y*0.7 else: y=y*0.8 else: y= y*0.9 print(y)