a=int(input("Enter thr number of minutes:"))
b=24*60
age=a//(b*365)
day=a%(b*365)//b
print("{} minutes is approximately {} years and {} days".format(str(a),str(age),str(day)))
m=eval(input("Enter the amount of water in kilograms:"))
q1=eval(input("Enter the initial termperature:"))
q2=eval(input("Enter the final temperature:"))
Q=m*(q2-q1)*4148
print("The energy needed is {}".format(str(Q)))