# each line "<A> <B>" is a directed edge A->B
1 2
2 3
1 3
3 4
4 2