function parseInt(x) parse(Int, x) end

function main()
	n = parseInt.(split(readline()))
	ab = [0,0]
	for i in 1:n[1]
		ab = readline() |> split |> y -> parseInt.(y)
	end
	

	print("fuck")
end

main()