#include <iostream>
#include<algorithm>
using namespace std;

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);

    string s, t, r;
    cin >> s;
    string::size_type i = 0;
    for(string::size_type j; (j = s.find('R', i)) != string::npos; i = j + 1) {
        t.append(s, i, j - i);
        swap(t, r);
    }
    t.append(s, i);
    reverse(begin(r), end(r));
    s = ' ';
    for(char c: r + t) {
        if(s.back() == c) {
            s.pop_back();
        } else {
            s.push_back(c);
        }
    }

    cout << s << '\n';

    return 0;
}

#include<bits/stdc++.h>
using namespace std;

typedef vector<long long int> vi;
typedef long long ll;

int main(){
  
  // #ifndef ONLINE_JUDGE
  //   freopen("input.txt", "r", stdin);
  //   freopen("output.txt", "w", stdout);  
  // #endif

  float n;cin>>n;
  if(floor(n*1.08)<206)cout<<"Yay!";
  else if(floor(n*1.08)==206)cout<<"so-so";
  else if(floor(n*1.08)>206)cout<<":(";

}  