#include<stdio.h>
int main()
{
    int a=5,b=10;
    scanf("d/",a,b);
    printf("d",a>5);
    printf("d",b<10);
return 0;
}