Count Valid Initial Balances

Company: INFOSYS

Difficulty: easy