Kaprekar's Constant Demo

Directions:

Enter a 4-digit number that are not all the same digits and watch Kaprekar's Constant turn into 6174.