7 5 R 1 1 A 1 0 R 0 1 A 2 1 R 1 1 R 1 1 A 2 0 1 1 1 2 2 3 4 6 5 7