fn main() { input! { t: usize, } for _ in 0..t { solve(); } } fn solve() { input! { h: usize, w: usize, } println!("{}", if (h+w) % 2 == 0 {"ryota"} else {"sepa"} ); } // const MOD93: usize = 998244353; // const MOD17: usize = 1000000007; // const INV2: usize = 499122177; // MOD93の剰余世界では、1/2の代わりにこれを掛ける // const INF: usize = 1 << 60; // const D: [(usize, usize); 4] = [(!0, 0), (0, !0), (1, 0), (0, 1)]; // 上左下右 // fn us(x: i32) -> usize { x as usize } // 文字の定義 // const CHAR_SZ: usize = 26; // const UPPER_A_ASCII : usize = 0x41; // const UPPER_Z_ASCII : usize = UPPER_A_ASCII + SZ - 1; // const LOWER_A_ASCII : usize = 0x61; // const LOWER_Z_ASCII : usize = LOWER_A_ASCII + SZ - 1; // #[allow(unused)] // #[derive(PartialEq, Eq, PartialOrd, Ord, Hash, Clone)] // struct Pos { // x: usize, // y: usize, // } // #[allow(unused)] // enum Direction { // UP = 0, // LEFT = 1, // DOWN = 2, // RIGHT = 3, // } // library #[allow(unused)] use std::{ println, print, mem::swap, cmp::min, cmp::max, cmp::Reverse, collections::HashSet, collections::BTreeSet, collections::HashMap, collections::BTreeMap, collections::BinaryHeap, collections::VecDeque, iter::FromIterator, }; // -- atcoder-only -- #[allow(unused)] use itertools::Itertools; #[allow(unused)] use proconio::{input, marker::Chars, marker::Usize1}; // use proconio::{input, input_interactive, marker::Chars, marker::Usize1}; // #[allow(unused)] // use num::{integer::gcd, Signed}; // #[allow(unused)] // use num_integer::Roots;// 通常の平方根 // #[allow(unused)] // use superslice::Ext; // #[allow(unused)] // use rand::Rng; // let mut rng = rand::thread_rng(); // let n = rng.gen_range(1, 1000);