added a function for the results of people in the gym with a return and a console.log for the answer