Driver Code
public static void main ( String [ ] args ) { long M = 400 , L = 120 ; long H [ ] = { 20 , 50 , 20 } ; long A [ ] = { 20 , 70 , 90 } ; long N = A . length ; System . out . println ( buzzTime ( N , M , L , H , A ) ) ; } }