def get_position(maze, element):
    """Get the position of an element in the maze (pony, domokun, or end-point)"""
    if element == 'pony':
        return int(maze['pony'][0])
    elif element == 'domokun':
        return int(maze['domokun'][0])
    elif element == 'end-point':
        return int(maze['end-point'][0])
    return None