#include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
#define re 
#define X first
#define Y second
#define mp std::make_pair
#define pb push_back
#define ohh(hhh...) fprintf(stderr,hhh)
typedef long long ll;
typedef unsigned long long ull;
typedef std::pair<int,int> pii;
template<class T1> inline bool cmax(T1 &x,T1 y) {return x<y?(x=y,1):0;}
template<class T1> inline bool cmin(T1 &x,T1 y) {return x>y?(x=y,1):0;}
int read()
{
	int x=0,w=0;
	char ch=0;
	while(ch<'0'||ch>'9') w|=ch=='-',ch=getchar();
	while('0'<=ch&&ch<='9') x=(x<<3)+(x<<1)+(ch^48),ch=getchar();
	return w?-x:x;
}
int main()
{
	re int n=read();
	n=floor(1.08*n);
	if(n<206) printf("Yay!\n");
	else if(n==206) printf("so-so\n");
	else printf(":(\n");
	return 0;
}
#include<iostream>
#include<stdlib.h>
#include<cassert>
#include<time.h>
#include<bitset>
using namespace std;
int t[210000];
int main(){
    int a;scanf("%d",&a);
    int at=0;
    for(int i=0;i<a;i++){
        int s;scanf("%d",&s);
        t[s]++;
        while(t[at]){
            at++;
        }
        printf("%d\n",at);
    }
}