a = int(input("Val a : ")) b = int(input("Val b : ")) avg = (a + b) / 2 if (a > b) : max = a else : max = b print("avg = ", avg) print("max = ", max)