PROGRAM
4 1 2 1
4 1 2 3
4 1 2 4
4 1 2 2
4 1 2 5