Python files for the output result and main is here