import java.util.Scanner; //you can write: java.util.*
public class main {
public static void main(String []args){
int p = 0,
paid = 0;
Scanner sc = new Scanner(System.in);
System.out.println("Please enter the price of the: product: ");
p = sc.nextInt();
while(paid<p){
System.out.println("you have to pay more \n" + (p-paid) + " " +
"Please pay more: ");
paid += sc.nextInt();
}
if(paid>p)
System.out.println("please take the change: " + (paid-p));
System.out.println("\n\n THANK YOU VERY MUCH, YOU'RE ALWAYS WELCOMED AGAIN!");
}
}