U4CSE17240's submissions for bag of numbers