//It's the code for Ceil A-B problem in practice set
include<stdio.h>
int main() { unsigned long a=0; unsigned long b=0; scanf("%lu %lu", &a, &b); printf("%lu\n",(a-b)); printf("%lu\n", (a-b)^1); return 0; }
//It's the code for Ceil A-B problem in practice set
int main() { unsigned long a=0; unsigned long b=0; scanf("%lu %lu", &a, &b); printf("%lu\n",(a-b)); printf("%lu\n", (a-b)^1); return 0; }