#include <stdio.h>

int main(int c, char **v)
{
	int a = 0;
	int b = 0;
	((c == 0) ? a : b) = 1;
	printf("%d %d\n", a, b);
	return 0;
}