import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); String n = sc.next(); sc.close(); if (n.indexOf("4") != -1 && n.indexOf("6") != -1) { System.out.println("Beautiful"); } else { System.out.println("..."); } } }