Files
contests/atcoder/beginner_contests/abc048/src/bin/d.rs

14 lines
235 B
Rust

use proconio::input;
fn main(){
input!{
s: String,
};
if (s.len() % 2 == 0) ^ (s.chars().next().unwrap() == s.chars().last().unwrap()) {
println!("Second");
} else {
println!("First");
}
}