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