#!/usr/bin/env python # coding: utf-8 # This is about the simplest way you can do the problem. Each line is its own solution, with no variables used; just "hardcoded" numbers for the whole shebang. # In[1]: 128*(12345-10000) # In[4]: 128*(56789-10000) # In[ ]: