shivam gor's submission of A - Appearance Count | CodeChef