from typing import Any


def cmp(a: Any, b: Any) -> int:
    """Define this since it is not implemented in Python 3.

    Args:
        a (Any): compare to
        b (Any): compare against

    Returns:
        int: compare result
    """
    if a < b:
        return -1

    if a == b:
        return 0

    return 1