Comparing Values of Multi-Digits