def solution(s): answer = '' d = len(s) if d%2==0: a = d//2 answer = s[a-1:a+1] else: a = d//2 answer = s[a] return answer