#include #include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); string s; cin >> s; bool f0 = false, f1 = false; for (int i = 0; i < s.length(); i++) { if (s[i] == '4') f0 = true; if (s[i] == '6') f1 = true; } if (f0 && f1) cout << "Beautiful\n"; else cout << "...\n"; return 0; }