Changed manasa.py to conform to output rules.