My goal is to define a function, which takes an input integer sequence and outputs an integer sequence with the same length, but containing only the fir