Cirrus Logic interview question

write a code to extract input and outputs