def A(x): a=35+2.5*x return a def B(x): b=... return b n=int(input("Nombre de films = ")) if A(n)