lst = [
[0, 0, 0, '', 0, 0, 0, 0, 0],
[0, 0, 0, 0, 'b', 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 'c', 0, 0],
[0, 0, 0, 0, 0, 0, 0, '', 0],
[0, 0, 0, 0, 0, 0, 0, 0, '']
]
print([next((i for i in s if i != 0), 0) for s in zip(*lst)])
bHN0ID0gWwogICAgWzAsIDAsIDAsICcnLCAwLCAwLCAwLCAwLCAwXSwKICAgIFswLCAwLCAwLCAwLCAnYicsIDAsIDAsIDAsIDBdLAogICAgWzAsIDAsIDAsIDAsIDAsIDAsICdjJywgMCwgMF0sCiAgICBbMCwgMCwgMCwgMCwgMCwgMCwgMCwgJycsIDBdLAogICAgWzAsIDAsIDAsIDAsIDAsIDAsIDAsIDAsICcnXQpdCnByaW50KFtuZXh0KChpIGZvciBpIGluIHMgaWYgaSAhPSAwKSwgMCkgZm9yIHMgaW4gemlwKCpsc3QpXSk=