parseInt(x) = parse(Int, x)
 
function main()
	n,h = map(parseInt, split(readline()))
	x = Array{Int}(2, n[1])
	for i in 1:n[1]
		x[:,i] = map(parseInt, split(readline()))
	end
    print("Perfect!")
end