a = int(input("Rainfall for April: "))
m = int(input("Rainfall for May: "))
j = int(input("Rainfall for June: "))

ave = (a+m+j)/3
print(f"\nRainfall for April:\t{a} \nRainfall for May:\t{m} \nRainfall for June:\t{j} \nAverage rainfall: \t{ave}")