Huge Interview Question

Create a function that captures X data.