def encode_jump(input_string):
    """Encode input string according to algorithm specifications"""
    jump_map = {
        "0": "5",
        "1": "9",
        "2": "8",
        "3": "7",
        "4": "6",
        "5": "0",
        "6": "4",
        "7": "3",
        "8": "2",
        "9": "1",
    }
    output_string = ""
    output_string = ''.join([jump_map[char] if char in jump_map else char for char in input_string])
    return output_string