S = 40; t = 4; n = 50; d = [50, 53, 55, 60, 85, 90, 100, 100, 105, 110, 137, 140, 140, 140, 150, 150, 150, 150, 150, 150, 150, 150, 168, 170, 170, 195, 195, 200, 200, 200, 210, 210, 225, 230, 230, 230, 250, 250, 250, 250, 250, 250, 250, 250, 265, 270, 270, 375, 375, 405];