code: def nic_a_c(msg):
      
      tc = typecode(msg)
  
      if tc != 31:
          raise RuntimeError("%s: Not a status operation message, expecting TC = 31" % msg)
  
      msgbin = common.hex2bin(msg)
      nic_a = int(msgbin[75])
      nic_c = int(msgbin[51])
  
      return nic_a, nic_c
docs: Obtain NICa/c, navigation integrity category supplements a and c
  
      Args:
          msg (string): 28 bytes hexadecimal message string
  
      Returns:
          (int, int): NICa and NICc number (0 or 1)