from typing import OrderedDict
from typing import Tuple


def get_dep_head_rel(d: OrderedDict, t_id: int) -> Tuple[int, str]:
    """For a given token, return its head and arc label"""
    for deps in d.get('dependencies', []):
        if deps.get('style', 'universal') == 'universal' and t_id in deps['arcs'].keys():
            arc = deps['arcs'][t_id][0]
            return arc['governor'], arc['label']
    return 0, '_'