S = 42; t = 2; n = 30; d = [280, 280, 230, 230, 230, 230, 150, 100, 100, 100, 100, 90, 90, 90, 90, 90, 90, 80, 80, 80, 80, 70, 70, 70, 70, 70, 70, 70, 60, 60];