기출 문제 / 현대 Round 8, Problem 2

Coin Promotion

Tom is a cashier at a large car dealership. Recently, the dealership has started a new promotional event, offering special coins to customers. Unlike regular coins, these coins come in two types, A and B. Type A coins are special promotional coins that can be used multiple times for change.