import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int n = scan.hasNextInt() ? scan.nextInt() : -1; double c = Math.pow(10, 9); if (n > c || n < 1) { System.out.println("入力エラー"); return; } if (Integer.toString(n).contains("4") && Integer.toString(n).contains("6") ) { System.out.println("Beautiful"); } else { System.out.println("..."); } } }