#include using namespace std; #define rep(i,n) for(int i=0;i> S; bool a=0,b=0; rep(i,S.size()){ if(S[i]=='4')a=1; if(S[i]=='4')b=1; } if(a==1&&b==1){ cout<<"Beautiful"<