give positive integer n find small integer exactly digit exist integer n great value n if positive integer exist return 1note return integer fit 32bit integer valid answer fit 32bit integer return 1 Example 1input n 12output 21example 2input n 21output 1 Constraints1 n 231 1