R -> O O -> R R -> I1 I1 -> R O -> S S -> O O -> A A -> O A -> I2 I2 -> A