#include <bits/stdc++.h>

using namespace std;

int main(){
    int N;
    cin >> N;
    int price = (int)(floor(1.08 * N));
    if (price == 206){
        cout << "so-so"<<endl;
    } else {
        cout << (price < 206? "Yay!":":(") <<endl;
    }

    return 0;
}
#include <iostream>

using namespace std;

int main()
{
	int N;
	cin >> N;

	for (int i = 0; i < N; ++i) {
		int a = (2 * i + 0) % N;
		int b = (2 * i + 1) % N;
		cout << a + 1 << " " << b + 1 << endl;
	}
}
