Flag each debit: 'Large' if it is more than 50% of the account's total credits, else 'Normal'. Return txn_id, account_id, amount and flag for debits only.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.