Armstorg Number Program In Python