def solution(n):
    answer = 0
    for i in str(n):
        answer += int(i)
    return answer


location = {'1': (0, 0), '2': (0, 1), '3': (0, 2), '4': (1, 0), '5': (1, 1),
    '6': (1, 2), '7': (2, 0), '8': (2, 1), '9': (2, 2), '*': (3, 0), '0': (
    3, 1), '#': (3, 2)}
print(location['1'][0])

75613fddbbd849b08926875ee9bd24c6d6893b72
<mask token>

def solution(n):
    answer = 0
    for i in str(n):
        answer += int(i)
    return answer


<mask token>

def solution(n):
    answer = 0
    for i in str(n):
        answer += int(i)
    return answer


<mask token>
print(location['1'][0])

def solution(n):
    answer = 0
    for i in str(n):
        answer += int(i)
    return answer


location = {'1': (0, 0), '2': (0, 1), '3': (0, 2), '4': (1, 0), '5': (1, 1),
    '6': (1, 2), '7': (2, 0), '8': (2, 1), '9': (2, 2), '*': (3, 0), '0': (
    3, 1), '#': (3, 2)}
print(location['1'][0])
