#pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #include using namespace std; #define int long long signed main() { string S; cin >> S; bool ok_4 = false, ok_6 = false; for(int i = 0; i < S.size(); ++i) { if(S[i] == '4') ok_4 = true; if(S[i] == '6') ok_6 = true; } if(ok_4 && ok_6) cout << "Beautiful" << endl; else cout<< "..." << endl; }