# a = [0.0, 0.75, 1.5, 2.25, [4.0, 'None'], 4.75, 5.25, 6.5, 7.5, [8.0, 'None'], 8.5, 9.5, 10.0, 10.75, 11.25, 11.75,
#      [12.0, 'None'], 12.25, 12.5, 12.75, 13.0, 13.25, 14.0, 14.5, 15.25, 15.5, 16.0, 16.25, 16.5, 17.25, 17.5, 17.75,
#      18.75, 19.0, 19.25, [20.0, 'None'], 20.5, 20.75, 21.0, 22.25, 22.5, 22.75, 23.75, 24.0, 24.25, 25.0, 25.25, 25.75,
#      26.75, 27.0, 27.25, [28.0, 'None'], 28.5, 28.75, 29.0, 30.0, 30.25, 30.5, 31.75, 32.0]
# ['C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4',
#  'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4',
#  'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4',
#  'C-4', 'C-4', 'C-4']
# [[0.0, 0.75, 'C-4'], [0.75, 0.75, 'C-4'], [1.5, 0.75, 'C-4'], [2.25, 1.75, 'C-4'], [4.0, 0.75, 'None'],
#  [4.75, 0.5, 'C-4'], [5.25, 1.25, 'C-4'], [6.5, 1.0, 'C-4'], [7.5, 0.5, 'C-4'], [8.0, 0.5, 'None'], [8.5, 1.0, 'C-4'],
#  [9.5, 0.5, 'C-4'], [10.0, 0.75, 'C-4'], [10.75, 0.5, 'C-4'], [11.25, 0.5, 'C-4'], [11.75, 0.25, 'C-4'],
#  [12.0, 0.25, 'None'], [12.25, 0.25, 'C-4'], [12.5, 0.25, 'C-4'], [12.75, 0.25, 'C-4'], [13.0, 0.25, 'C-4'],
#  [13.25, 0.75, 'C-4'], [14.0, 0.5, 'C-4'], [14.5, 0.75, 'C-4'], [15.25, 0.25, 'C-4'], [15.5, 0.5, 'C-4'],
#  [16.0, 0.25, 'C-4'], [16.25, 0.25, 'C-4'], [16.5, 0.75, 'C-4'], [17.25, 0.25, 'C-4'], [17.5, 0.25, 'C-4'],
#  [17.75, 1.0, 'C-4'], [18.75, 0.25, 'C-4'], [19.0, 0.25, 'C-4'], [19.25, 0.75, 'C-4'], [20.0, 0.5, 'None'],
#  [20.5, 0.25, 'C-4'], [20.75, 0.25, 'C-4'], [21.0, 1.25, 'C-4'], [22.25, 0.25, 'C-4'], [22.5, 0.25, 'C-4'],
#  [22.75, 1.0, 'C-4'], [23.75, 0.25, 'C-4'], [24.0, 0.25, 'C-4'], [24.25, 0.75, 'C-4'], [25.0, 0.25, 'C-4'],
#  [25.25, 0.5, 'C-4'], [25.75, 1.0, 'C-4'], [26.75, 0.25, 'C-4'], [27.0, 0.25, 'C-4'], [27.25, 0.75, 'C-4'],
#  [28.0, 0.5, 'None'], [28.5, 0.25, 'C-4'], [28.75, 0.25, 'C-4'], [29.0, 1.0, 'C-4'], [30.0, 0.25, 'C-4'],
#  [30.25, 0.25, 'C-4'], [30.5, 1.25, 'C-4'], [31.75, 0.25, 'C-4']]
# [[None, 0.75], ['C-4', 0.75], ['C-4', 0.75], ['C-4', 0.75], ['C-4', 0.75], ['C-4', 0.25]]
a = [[0.0, 1.25, 'C-4'], [1.25, 1.75, 'C-4'], [3.0, 1.0, 'C-4'], [4.0, 0.5, 'None'], [4.5, 2.0, 'C-4'],
             [6.5, 1.5, 'C-4'], [8.0, 0.5, 'None'], [8.5, 1.0, 'C-4'], [9.5, 1.25, 'C-4'], [10.75, 1.25, 'C-4'],
             [12.0, 1.25, 'None'], [13.25, 1.25, 'C-4'], [14.5, 1.5, 'C-4'], [16.0, 1.0, 'None'], [17.0, 1.5, 'C-4'],
             [18.5, 1.5, 'C-4'], [20.0, 1.25, 'C-4'], [21.25, 1.25, 'C-4'], [22.5, 1.0, 'C-4'], [23.5, 0.5, 'C-4'],
             [24.0, 1.25, 'None'], [25.25, 2.0, 'C-4'], [27.25, 0.75, 'C-4'], [28.0, 0.75, 'None'],
             [28.75, 1.25, 'C-4'], [30.0, 2.0, 'C-4']];
print len(a)
f149aec7f84c10572d573fe63e53ce26ddb6f29c
# a = [0.0, 0.75, 1.5, 2.25, [4.0, 'None'], 4.75, 5.25, 6.5, 7.5, [8.0, 'None'], 8.5, 9.5, 10.0, 10.75, 11.25, 11.75,
#      [12.0, 'None'], 12.25, 12.5, 12.75, 13.0, 13.25, 14.0, 14.5, 15.25, 15.5, 16.0, 16.25, 16.5, 17.25, 17.5, 17.75,
#      18.75, 19.0, 19.25, [20.0, 'None'], 20.5, 20.75, 21.0, 22.25, 22.5, 22.75, 23.75, 24.0, 24.25, 25.0, 25.25, 25.75,
#      26.75, 27.0, 27.25, [28.0, 'None'], 28.5, 28.75, 29.0, 30.0, 30.25, 30.5, 31.75, 32.0]
# ['C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4',
#  'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4',
#  'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4', 'C-4',
#  'C-4', 'C-4', 'C-4']
# [[0.0, 0.75, 'C-4'], [0.75, 0.75, 'C-4'], [1.5, 0.75, 'C-4'], [2.25, 1.75, 'C-4'], [4.0, 0.75, 'None'],
#  [4.75, 0.5, 'C-4'], [5.25, 1.25, 'C-4'], [6.5, 1.0, 'C-4'], [7.5, 0.5, 'C-4'], [8.0, 0.5, 'None'], [8.5, 1.0, 'C-4'],
#  [9.5, 0.5, 'C-4'], [10.0, 0.75, 'C-4'], [10.75, 0.5, 'C-4'], [11.25, 0.5, 'C-4'], [11.75, 0.25, 'C-4'],
#  [12.0, 0.25, 'None'], [12.25, 0.25, 'C-4'], [12.5, 0.25, 'C-4'], [12.75, 0.25, 'C-4'], [13.0, 0.25, 'C-4'],
#  [13.25, 0.75, 'C-4'], [14.0, 0.5, 'C-4'], [14.5, 0.75, 'C-4'], [15.25, 0.25, 'C-4'], [15.5, 0.5, 'C-4'],
#  [16.0, 0.25, 'C-4'], [16.25, 0.25, 'C-4'], [16.5, 0.75, 'C-4'], [17.25, 0.25, 'C-4'], [17.5, 0.25, 'C-4'],
#  [17.75, 1.0, 'C-4'], [18.75, 0.25, 'C-4'], [19.0, 0.25, 'C-4'], [19.25, 0.75, 'C-4'], [20.0, 0.5, 'None'],
#  [20.5, 0.25, 'C-4'], [20.75, 0.25, 'C-4'], [21.0, 1.25, 'C-4'], [22.25, 0.25, 'C-4'], [22.5, 0.25, 'C-4'],
#  [22.75, 1.0, 'C-4'], [23.75, 0.25, 'C-4'], [24.0, 0.25, 'C-4'], [24.25, 0.75, 'C-4'], [25.0, 0.25, 'C-4'],
#  [25.25, 0.5, 'C-4'], [25.75, 1.0, 'C-4'], [26.75, 0.25, 'C-4'], [27.0, 0.25, 'C-4'], [27.25, 0.75, 'C-4'],
#  [28.0, 0.5, 'None'], [28.5, 0.25, 'C-4'], [28.75, 0.25, 'C-4'], [29.0, 1.0, 'C-4'], [30.0, 0.25, 'C-4'],
#  [30.25, 0.25, 'C-4'], [30.5, 1.25, 'C-4'], [31.75, 0.25, 'C-4']]
# [[None, 0.75], ['C-4', 0.75], ['C-4', 0.75], ['C-4', 0.75], ['C-4', 0.75], ['C-4', 0.25]]
a = [[0.0, 1.25, 'C-4'], [1.25, 1.75, 'C-4'], [3.0, 1.0, 'C-4'], [4.0, 0.5, 'None'], [4.5, 2.0, 'C-4'],
             [6.5, 1.5, 'C-4'], [8.0, 0.5, 'None'], [8.5, 1.0, 'C-4'], [9.5, 1.25, 'C-4'], [10.75, 1.25, 'C-4'],
             [12.0, 1.25, 'None'], [13.25, 1.25, 'C-4'], [14.5, 1.5, 'C-4'], [16.0, 1.0, 'None'], [17.0, 1.5, 'C-4'],
             [18.5, 1.5, 'C-4'], [20.0, 1.25, 'C-4'], [21.25, 1.25, 'C-4'], [22.5, 1.0, 'C-4'], [23.5, 0.5, 'C-4'],
             [24.0, 1.25, 'None'], [25.25, 2.0, 'C-4'], [27.25, 0.75, 'C-4'], [28.0, 0.75, 'None'],
             [28.75, 1.25, 'C-4'], [30.0, 2.0, 'C-4']];
print len(a)