fn main() { let mut buf = String::new(); let mut input = { use std::io::Read; std::io::stdin().read_to_string(&mut buf).unwrap(); buf.split_whitespace() }; let n: String = input.next().unwrap().parse().unwrap(); let output = if n.contains("4") && n.contains("6") { "Beautiful" } else { "..." }; println!("{}", output); }