import java.util.Scanner;
class Main{
public static void main(String args[])
{
int t,n;
Scanner sc = new Scanner(System.in);
t=sc.nextInt();
while(t>0)
{
n=sc.nextInt();
if(n>-20&&n<20)
{
if(n<10)
{
System.out.println("What an obedient servant you are!");
}
else
{
System.out.println("-1");
}
}
}
sc.close();
}
}