print('161\n212\n263\n4155156'.replace(/[12]./g,H=function(V){return--V?' '+H(V):''}))