Consider a 4 stage pipeline with stages named S1,S2,S3,S4. Let I1,I2,I3,I4 be 4 instructions and the number of clock-cycles needed by each instruction in each stage is given below.
The number of clock-cycles needed to complete the instruction cycle of the 4 instructions is ___.