n = gets a = gets.split b = gets.split p a p b p c