samar's submission of Strange Number | CodeChef