Given below is a register() function which is meant to register people on a website. It takes in two parameters: first name and last name of a person. As a developer, you want a way to log all the names passed to this function without modifying the code within it.
Do the same using a class decorator called Record (defined below). Store all the given names within the inputs list and print it at the end.