#include<iostream> int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a*a+b*b==c*c) printf("2"); else if(a*a+b*b<c*c) printf("1"); else printf("3"); return 0; }