링크텍스트
N = int(input()) fSizes = map(int, input().split()) cSize = int(input()) from math import ceil n_cluster = 0 for fSize in fSizes: n_cluster += ceil(fSize / cSize) print(n_cluster*cSize)