import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int n = sc.nextInt();
int sum = 0;
int i = 1;
while (i <= n) {
if (x % 7 !=6&&x % 7 !=0) {
sum = sum + 250;
}
i++;
x++;
}
System.out.println(sum);
}
}
版权声明:本文为qq_41978688原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。