풀이
티셔츠는 부족해서는 안 되므로
코드
from math import ceil
def main():
N = int(input())
sizes = list(map(int, input().split()))
T, P = map(int, input().split())
shirts_bundle = 0
for size in sizes:
shirts_bundle += ceil(size / T)
pen_bundle = N // P
print(shirts_bundle)
print(pen_bundle, N - pen_bundle * P)
main()