https://binary2hex.com/allsystem.html?id=21742

subtract 1998(16) and A1F(16) = F79 Column

Enter two numbers and specify their base of the number system:
..
-1998
A1F
0F79
the Final answer: 199816 - A1F16 = F7916