Problem1837--201911DLZX共同体第一题 路程(1)

1837: 201911DLZX共同体第一题 路程(1)

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

一艘轮船每天都能行驶250海里,但是到周末就会停下来。假设轮船从周x(x的范围是[1,7])出发,到第n(n<=100000)天结束的时候,这艘轮船一共行驶了多少海里?

Input

两个整数x,n(表示从周x算起,经过n天)。

Output

输出一个整数,表示轮船一共行驶多少海里。

Sample Input Copy

3  10

Sample Output Copy

2000

Source/Category

模拟