# Program to find the nth Hashed number print("Enter the Nth value:")rangenumber=int(input())num = 1c = 0letest = 0while (c != rangenumber):      num2=num      num1=num      sum=0      while(num1!=0):         rem=num1%10         num1=num1//10         sum=sum+rem      if(num2%sum==0):          c+=1          letest=num      num = num + 1print(rangenumber,"th Harshad number is ",  letest);