Paradox Cat interview question

create an sound decoding algorithm.