Cryptarithmetic Problem Using Python For Stock