Fuck G

Fuck G helps you convert G to Q and vice versa.

Input

Output