m = gets.chomp.to_i
n = gets.chomp.to_i

$g = {}

n.times do
  a, b = gets.chomp.split(' ').map(&:to_i)

  $g[a] ||= []
  $g[a] << b
end

$all = (1..m).to_a
$none_order = $all - $g.values.flatten

$res = []
until $none_order.empty?
  point = $none_order.pop

  $res << point

  next unless $g[point]
  $g[point].each do |p|
    $none_order << p unless $g.any? { |s, t| s != point && t.include?(p) }
  end
  $g.delete(point)
end

puts $res

