code=int(input("Write the city code:"))
time=int(input("Write the duration of the negotiations in minutes:"))
if code==343:
     print("The cost of a call is", time*15, "rubles")
elif code==381:
     print("The cost of a call is", time*18, "rubles")
elif code==473:
     print("The cost of a call is", time*13, "rubles")
elif code==485:
     print("The cost of a call is", time*11, "rubles")
    
