#include using namespace std; #define int int64_t int32_t main() { string n; cin >> n; bool f = false; bool s = false; for (auto c : n) { if (c == '4') f = true; else if (c == '6') s = true; } if (f and s) cout << "Beautiful" << endl; else cout << "..." << endl; }