def render_action(t, s, prop, term):
    agent = (t % 2)
    speaker = ('A' if (agent == 0) else 'B')
    utility = s.utilities[:, agent]
    print('  ', end='')
    if (speaker == 'B'):
        print('                                   ', end='')
    print((' ' + ''.join([str(v) for v in s.m_prev[0].view((- 1)).tolist()])), end='')
    print((' %s/%s %s/%s %s/%s' % (prop[0][0].item(), s.pool[0][0].item(), prop[0][1].item(), s.pool[0][1].item(), prop[0][2].item(), s.pool[0][2].item())), end='')
    print('')
    if ((t + 1) == s.N[0]):
        print(' [out of time]')
    elif term[0][0]:
        print(' ACC')
def render_action(t, s, prop, term):
    agent = (t % 2)
    speaker = ('A' if (agent == 0) else 'B')
    utility = s.utilities[:, agent]
    print('  ', end=)
    if (speaker == 'B'):
        print('                                   ', end=)
    print((' ' + .join([str(v) for v in s.m_prev[0].view((- 1)).tolist()])), end=)
    print((' %s/%s %s/%s %s/%s' % (prop[0][0].item(), s.pool[0][0].item(), prop[0][1].item(), s.pool[0][1].item(), prop[0][2].item(), s.pool[0][2].item())), end=)
    print()
    if ((t + 1) == s.N[0]):
        print(' [out of time]')
    elif term[0][0]:
        print(' ACC')