#include #include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); string S; cin >> S; string ans = "Beautiful"; if(S.find('4') == string::npos) ans = "..."; if(S.find('6') == string::npos) ans = "..."; cout << ans << endl; return 0; }