Invariant mass distributions of \LctopKs candidates in \lowptbin, in pp (left) and \pPb (right) collisions at \sqrtsNNfive. The red dashed curves represent the background fits, and the blue curves the total fits. The lower panels show the distributions after subtracting the background estimated with the fit.