a=map(int,raw_input().split()) a=zip(a[::2],a[1::2]) n,m=input(),input() print n i=0 while 1: x,y=a[i];i+=1;1/m if n*x%y<1: \x09n=n*x/y;i=0;m-=1 \x09if n!=15159375:print n
Note that non-ascii characters in the above source code will be escaped (such as \x9f).