#include<bits/stdc++.h>
using namespace std;
int main(){
  int a,b,c,d,e,k;
  cin >> a >> b >> c >> d >> e >> k;
  if(e-a>k){
    cout << ":(" << endl;
  }
  else{
    cout << "Yay!" << endl;
  }
}
#include<bits/stdc++.h>

using namespace std;

int main()
{
    string s;
    cin>>s;

    if(s[0]=='R'&& s[1]=='R'&&s[2]=='R'){
        cout<<"3"<<endl;
    }
    else if(s[0]!='R'&& s[1]!='R'&&s[2]!='R'){
        cout<<"0"<<endl;
    }
    else if(s[0]=='R'&& s[1]=='R' || s[1]=='R'&&s[2]=='R'){
        cout<<"2"<<endl;
    }
    else{
        cout<<"1"<<endl;
    }



    return 0;
}
