import java.util.*;
public class GuessNum {
public static void main(String args[]) {
System.out.println("please input a number between 0 and 2:");
Scanner sc = new Scanner(System.in);
int i = sc.nextInt();
if (i < 0 || i > 2) {
System.out.println("error");
}
Random r = new Random();
int pc = r.nextInt(3);
int counti=0;//when you win
int countpc=0;//when conpute win
int count=0;//when your number is the same with pc's.
//the same
if(i==pc){
count++;
}
//when pc win
if((pc==0 && i==1)||(pc==1&&i==2)||(pc==2&&i==0)){
countpc++;
}
//when you win
if((i==0 && pc==1)||(i==1&&pc==2)||(i==2&&pc==0)){
counti++;
}
}
}