Consider a $5$-stage pipeline - IF (Instruction Fetch), ID (Instruction Decode and register read), EX (Execute), MEM (Memory), and WB (Write Back). All register reads take place in the second phase of a clock cycle and all register writes occur in the first phase and there is no operand forwarding in use. Consider the execution of the following instruction sequence:
- $I_1: R_1 \leftarrow R_2 + R_3$
- $I_2: R_3 \leftarrow R_1 - R_2$
- $I_3: M[R_3] \leftarrow R_1$
- $I_4: R_2 \leftarrow R_3 * R_1$
If the number of RAW (Read after write) hazards is denoted by $A,$ WAR (Write after read) hazards by $B$ and WAW (Write after write) hazards by $C,$ then $2A+3B+C =$ ___________