3. In an academic institute, students records include id, first name and last name. Write a function that accepts a list of student records. Each record is a list of integer, string, string - eg: '(1, "Sam", "Roger"), and records of new students may not have the id, they have only first and last name as in' ("Kang" "Lee"). The function should return a list ids. If the student has an id then that is used, if the student does not have an id, full name is used as id so the returned list would look like (1 "Kang Lee" 2 3 "Ravi Kumar" "Sarah Smith")

Fig: 1