def combineTernaryValues(statsValue, transValue):
    """ both values are in {0, 1, 2}
    and this function maps them to a unique space of
    {0, ..., 11}
    """
    return statsValue + (3 * transValue + 3)