Text this: Reversal of transmission and reflection based on acoustic metagratings with integer parity design