Composition/Continuous function followed by staircase function/No staircase function/Exercise

Give an example of a continuous function

and a staircase function

such that the composite is not a staircase function.