for each(V in readline().split(' ')){R="Wait, that's not a number..." Q=V if(0==Q%1)for(R=0,P=2;Q%P?P++