Use proper lists instead of split()