Used Python for large number comparison.