so the question is to get a number as an input (number should not have duplicate digits) and the program should find the smallest number between the larger numbers of input