Given an atleast 3-digit number, finds the shortest number of operations it would take to get to 1 digit from other 2 digits