The clue is in the first bullet point/example your teacher gave:


You need to count the number of each digit (0-9) in the original and again in the product of original * some_digit. If the...