import sys
# stdin으로 입력값 받기
input_data = sys.stdin.read()
# '.5'를 '0.5'로 대체하는 함수
def replace_decimal(data):
return data.replace("/.5", "/0.5")
# 각 행을 처리하여 합계를 계산하는 함수
def calculate_sums(data):
# 각 행을 줄 단위로 나눔
rows = data.strip().split("\n")
# 9개의 열에 대한 합계를 저장할 리스트 초기화
column_sums = [0] * 9
# 각 행 처리
for row in rows:
# '/'로 분리하여 데이터 추출
parts = row.split("/")
numbers = list(map(float, parts[1:])) # 이름 이후의 숫자들만 가져옴
# 각 열의 숫자를 합산
for i in range(9):
column_sums[i] += numbers[i]
# 결과 문자열 생성
result = "종합/" + "/".join(
map(lambda x: str(int(x)) if x.is_integer() else str(round(x, 1)), column_sums)
)
return result
# 입력값에서 '.5'를 '0.5'로 대체
input_data = replace_decimal(input_data)
# 합계를 계산하고 결과 출력
result = calculate_sums(input_data)
print(result)
aW1wb3J0IHN5cwoKIyBzdGRpbuycvOuhnCDsnoXroKXqsJIg67Cb6riwCmlucHV0X2RhdGEgPSBzeXMuc3RkaW4ucmVhZCgpCgojICcuNSfrpbwgJzAuNSfroZwg64yA7LK07ZWY64qUIO2VqOyImApkZWYgcmVwbGFjZV9kZWNpbWFsKGRhdGEpOgogICAgcmV0dXJuIGRhdGEucmVwbGFjZSgiLy41IiwgIi8wLjUiKQoKIyDqsIEg7ZaJ7J2EIOyymOumrO2VmOyXrCDtlanqs4Trpbwg6rOE7IKw7ZWY64qUIO2VqOyImApkZWYgY2FsY3VsYXRlX3N1bXMoZGF0YSk6CiAgICAjIOqwgSDtlonsnYQg7KSEIOuLqOychOuhnCDrgpjriJQKICAgIHJvd3MgPSBkYXRhLnN0cmlwKCkuc3BsaXQoIlxuIikKICAgIAogICAgIyA56rCc7J2YIOyXtOyXkCDrjIDtlZwg7ZWp6rOE66W8IOyggOyepe2VoCDrpqzsiqTtirgg7LSI6riw7ZmUCiAgICBjb2x1bW5fc3VtcyA9IFswXSAqIDkKCiAgICAjIOqwgSDtlokg7LKY66as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wLzAvMC8wCuydtOywve2YhC8xLzAvMC8wLzAvMC8wLzAvMArsnKDrr7zshJwvMS8wLzAvMC8wLzAvMC8wLzAK6rmA7ISgLzEuNS8wLzAuNS8wLjUvMC8wLzAvMC8wCuydtOyKueyjvC8wLzAvMC8wLzAvMC8wLzAvMArsobDshJ3tmLgvMi8wLzAvMC8wLzEvMC8wLzAK7Jik7ISc7KeELy41LzAvMC8wLzAvMC8wLzAvMArrsJXrpZjsnYAvMC8wLzAvMC8wLzAvMC8wLzA=
선현정/0/0/0/0.5/0/0/0/4/0
강민서/1/0/0/0/0/0/0/0/0
하진석/1/0/0/0/0/0/0/0/0
성경우/0/0/1/0/0/0/0/0/0
최수연/0/0/0/0/0/0/0/0/0
손미정/0/0/0/0/0/0/0/0/0
이창현/1/0/0/0/0/0/0/0/0
유민서/1/0/0/0/0/0/0/0/0
김선/1.5/0/0.5/0.5/0/0/0/0/0
이승주/0/0/0/0/0/0/0/0/0
조석호/2/0/0/0/0/1/0/0/0
오서진/.5/0/0/0/0/0/0/0/0
박류은/0/0/0/0/0/0/0/0/0