a,b,c=map(int,input().split()) ANS=0 if a!=c and a>b and c>b: print("INF") elif a!=c and ab2 and c2>b2: ANS+=1 elif a2!=c2 and a2