#include <stdio.h> int main(void) { int n; scanf("%d",&n); int sgn=(n>0)-(n<0); printf("%d",sgn); return 0;}
3
1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!