$(200+5-1) + (3*100) = 504$.You can also try this by table filling
100 instructions with no stalls :$5 + (100-1)* 1 = 104$ cyclesNext 100 with 3 stall cycles :$108 + (100-1)*4 = 504$ cycles