#include using namespace std; int main(void) { string str; cin >> str; bool exist4 = false, exist6 = false; for (int i = 0; i < str.size(); ++i) { if (str[i] == '4') exist4 = true; else if (str[i] == '6') exist6 = true; if (exist4 && exist6) break; } cout << (exist4 && exist6 ? "Beautiful" : "...") << endl; return 0; }