Since you said you wanted to do calculations, you probably want time
objects, not strings.
See the documentation.
for number in a:
h = number // 10000
m = (number // 100) - (h * 100)
s = number % 100
t = time(h,m,s)
# then do whatever you want with t