#include using namespace std; string solve(long long n){ bool f = false,s = false; while(n){ if(f && s)return "Beautiful"; if(n%10==4)f = true; if(n%10==6)s = true; n/=10; } if(f && s)return "Beautiful"; else return "..."; } int main() { // your code goes here long long n; cin>>n; cout<