HackerRank Printing Tokens in c problem solution - TheCScience