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