def getDP(directionPointer: int) -> str:
    """
    Finds the correct direction pointer string
    :param directionPointer: Input direction pointer
    :return: direction pointer string
    """
    if directionPointer == 0:
        return 'r'
    if directionPointer == 1:
        return 'd'
    if directionPointer == 2:
        return 'l'
    return 'u'