GE HealthCare Interview Question

I wrote it up stairs