You are given a code:

def main_solution(x):
    return func_5(func_5('ipxo', 'vi'), 'amn')

Can you predict the output of `main_solution("afhglnp")` 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": "afhglnp"}, "ref_output": "amnviipxo", "ref_code": "def main_solution(x):\n    return func_5(func_5('ipxo', 'vi'), 'amn')", "funcname": "main_solution"}
rule