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