Create Restricted Sum.py