import java.util.*;
public class terning2_Christian_Sorensen {
public static void main (String[] args) {
Scanner input= new Scanner(System.in);
int oppenetScore = input.nextInt();
Random kast = new Random(); // random generator
System.out.println("************************* DICE GAME *************************");
System.out.println("*** You score on roll 2, 3, 4, 5 or 6 and loose on roll 1 ***");
System.out.println("*************************************************************");
int kk = 0;
int totalScore = 0;
int tempScore = 0;
while (kk <2){
kk = kast.nextInt(6)+1;
tempScore = tempScore + kk;
totalScore = tempScore;
if (kk > 1 && totalScore > oppenetScore) {
System.out.println("Roll= " + kk + "\n your total temp score = " + tempScore);
}
else if (kk == 1) {
System.out.println("you lost you score from this round");
}
}
} // end of main
} // end of program