1. Problem 문제 확인하기 2. Solution 1. Python (memory: 31256KB, time: 40ms) w, k = [sorted([int(input()) for _ in range(10)], reverse=True)[:3] for _ in range(2)] print(sum(w), sum(k))