in_num_list = [num for num in input()] num_set = set(in_num_list) if '4' in num_set and '6' in num_set: print('Beautiful') else: print('...')