Save 25%Black Friday: 25% off all plans — use code BLACKFRIDAY2026 at checkout. Ends Monday, Dec 7.Claim the deal

Given a list of transactions, where each transaction moves a certain percentage of one account’s current balance (the "from" account) to another (the "to" account). A separate list of accounts contains each account’s name and its initial balance.

Implement the TransactionSystem class:

Test Cases
Input
Output
Expected