#include using namespace std; int main(void) { string N; cin >> N; if ((N.find("4") != string::npos) && (N.find("6") != string::npos)) { cout << "Beautiful" << endl; } else { cout << "..." << endl; } return 0; }