can someone help me?
package en.codegym.task.pro.task04.task0403;
import java.util.Scanner;
/*
Summation
*/
public class Solution {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int temp = 0;
while(sc.hasNextInt()){
temp = temp +x;
}
System.out.print(temp);
}
}