from typing import List def devide_number_to_digits() -> List: return [d for d in str(input())] def is_it_beautiful(input_number: List) -> bool: return "4" in input_number and "6" in input_number if __name__ == "__main__": input_number = input() if is_it_beautiful(input_number): print("Beautiful") else: print("...")