Problem
1. Create a string variable using the input sentence 'Jane, Doe, 2015, 6, 2, female' in it. Write a function to read the input and generate tokens using the split-string method. Print the output in the form: Hi + first Name + last Name.
2. Write a function to find the maximum and minimum element in a given list using methods.