처음 코드

def solution(num_str):
    return sum(map(int, num_str))