Final fixed version of Code with maximum possible satisfaction scores - Harsha