def jn(n, x, context=None):
    """
    Return the value of the first kind Bessel function of order ``n`` at ``x``.

    ``n`` should be a Python integer.

    """
    return _apply_function_in_current_context(
        BigFloat,
        mpfr.mpfr_jn,
        (n, BigFloat._implicit_convert(x)),
        context,
    )