#include <stdio.h>
int main()
{
	int a = 0;
	while (scanf("%d", &a) != EOF)
	{
		if (a <0)
			printf("1\n");
		else if (a == 0)
			printf("0\n");
		else
			printf("-1\n");
	}
	return 0;
}