Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- amocana 3;
- public void run(){
- int a = readInt();
- int b = readInt();
- if(a<b){
- int c = b;
- b=a;
- a=c;
- }
- int x =a;
- int y =b;
- while(y!=0){
- int c=x;
- x=y;
- y=c%x;
- }
- if(a/x-2<0 || (a/x)%2==0){
- println("meore igebs");
- } else{
- println("pirveli igebs");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement