var i:byte; begin writeln(32); for i:=0 to 19 do write(1 shl i,' '); end.