#include <stdio.h>

int main() {
    int i,temp;
    int a[]={200,202,400,403,404,500,502};
    char *b[]={"OK","Accepted","Bad Request","Forbidden","Not Found","Internal Server Error","Bad Gateway"}; 
    while((scanf("%d",&i)!=EOF))
    {
        if(getchar()=='\n')
        {
            for(temp=0;temp<7;temp++)
            {
                if(a[temp]==i)
                {
                    printf("%s\n",b[temp]);
                }
            }
        }
    }
    return 0;
}