minutes = int(input(" enter the number of minutes : "))
#1day=24*60=1440minutes 1year=365*1440=525600min
year = minutes // 525600
years = minutes % 525600
day =int( years / 1440 )
print(f"{minutes} minutes is approximately {year} years and {day} days")
M = float(input("Enter the amount of water in kilograms : " ))
initial_tem = float(input("Enter the initial temperature: "))
final_tem = float(input("Enter the final temperature: "))
Q = M * (final_tem - initial_tem) * 4184
print(f"The energy needed is {Q}")