15 lines
318 B
Java
15 lines
318 B
Java
import java.util.*;
|
|
|
|
public class _2845 {
|
|
public static void main(String[] args) {
|
|
Scanner sc = new Scanner(System.in);
|
|
int L = sc.nextInt();
|
|
int P = sc.nextInt();
|
|
int N = L*P;
|
|
|
|
for(int i=0; i<5; i++) System.out.printf("%d ", sc.nextInt() - N);
|
|
|
|
sc.close();
|
|
}
|
|
}
|