import sys if sys.version_info >= (3,5): import math import cmath as cm from string import digits, hexdigits as imported_name from decimal import *