// Example program
#include <iostream>
#include <string>
using namespace std;

int main()
{
    string s;
    cin >> s;
    swap(s[0],s[2]);
    swap(s[0],s[1]);
    cout << s;
    
  return 0;
}
#include <bits/stdc++.h>
using namespace std;

typedef long long ll;
#define int ll
#define _FastIO ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
#define pii pair<int , int>
#define pb push_back
#define F first
#define S second
const int mod = 1e9 + 7;
const int MAXX = 1e6 + 5;


int n;

signed main()
{
    _FastIO;
    cin >> n;
    int f = n * 1.08;
    if(f < 206){
        cout << "Yay!" << endl;
        return 0;
    }
    if(f == 206){
        cout << "so-so" << endl;
        return 0;
    }
    cout << ":(" << endl;
    return 0;
}
