for n in range(1,101): l=[] while n:m=n;n%=n<17or-n//60*~9;l+=[m-n,'4 20'][m-n==80], print(*l)