main=interact$(1#).read d#n=d?"M("++show n++d?")"++"\n"++d&n 0&_="" d&n|n>100=(d-1)#(n-10)|1>0=(d+1)#(n+11) d?s=[1..d]>>s