def escape(st):
    """
    Escapes the characters ``\\\\``, ``\\t``, ``\\n``, ``\\r`` and ``"`` in
    the given string ``st`` and returns it.
    """
    return st.replace('\\', '\\\\').replace('\t', '\\t').replace('\r', '\\r'
        ).replace('\n', '\\n').replace('"', '\\"')
