Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- N=int(input())
- m=int(input())
- t=0
- m*=60
- while N>0:
- t+=m
- m+=10
- N-=1
- print(t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement