(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

g(x, a, b) → g(b, b, a)

Q is empty.