karolinagergert

Untitled

Jul 11th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. N=int(input())
  3. m=int(input())*60
  4. k=m
  5. i=0
  6. while i<N:
  7. i+=1
  8. k+=10
  9. if i==N:
  10. k+=10
  11. print(((m+k)/2) * N)
Advertisement
Add Comment
Please, Sign In to add comment