n=gets.to_i
hs=Hash[[0,1,2].zip(["1","010","010010"])]
if n<3 then
	puts hs[n]
else
	s=hs[2].split("")
	3.upto(n){|i|
		if i%2==0 then
			s.unshift("0")
		else
			s.push("0")
		end
	}
	puts s.join("")
end