import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); while(true) { int x = in.nextInt(); int y = in.nextInt(); int z = in.nextInt(); // 0 0 0 을 입력받으면 종료 if(x == 0 && y == 0 && z == 0) break; if((x * x + y * y) == z * z) { System.out.println("right"); } else if(x * x == (y * y + z * z)) { System.out.println("right"); } else if..