r n w 1 2 1 1 3 1 2 1 1 2 3 1 2 4 1 3 1 1 3 2 1 3 5 1 4 2 1 4 3 1 4 5 1 5 3 1 5 4 1