import sys input = sys.stdin.readline from collections import * x = input()[:-1] if '4' in x and '6' in x: print('Beautiful') else: print('...')