def to_symbol(i):
 if (i == 0):
  return ''
 if (i == 11):
  return '+'
 if (i == 12):
  return '*'
 return str((i - 1))

def to_symbol ( i ) : if ( i == 0 ) : return '' if ( i == 11 ) : return '+' if ( i == 12 ) : return '*' return str ( ( i - 1 ) )
covert ids to text .