Most Complicated Python Program To Check