Ritesh kumar's submission of Smallest Beautiful Number | CodeChef