Consider a 5-stage instruction pipeline which can execute 3 types of instructions:
Each load & store type instructions take 8 cycles to execute in pipeline. Each ALU type instruction take 6 cycles to execute in pipeline and each other type instruction take 5 cycles to execute in pipeline. There are 20 load & store type, 30 ALU type and 10 other type instructions to execute in the pipeline minimum. How many cycles are needed to execute all instructions if all instructions can be overlapped?