from math import*;i=input;exec("x,n,d=map(int,i().split());print('inf'if 1