Given a Directed and Acyclic Graph having N vertices and M edges, print topological sorting of the vertices.
Input:
First line consists of two space separated integers denoting N and M.
Each of the following M lines consists of two space separated integers X and Y denoting there is an from X directed towards Y.
Output:
Print N space separated integers denoting the topological sort, if there are multiple ordering print the lexicographically smallest one.
Constraints: