You are given a code:

def main_solution(x):
    return func_13(func_20(x, 'tmfpsm'), '|')

Can you predict the output of `main_solution("gmwjknmx")` without writing any code? Please reason and put your final answer in the following json format: {"output": <your output>}, where <your output> should be the final string.
user
{"ref_input": {"x": "gmwjknmx"}, "ref_output": "g|t|m|m|w|f|j|p|k|s|n|m|m|x", "ref_code": "def main_solution(x):\n    return func_13(func_20(x, 'tmfpsm'), '|')", "funcname": "main_solution"}
rule