Compare multi-digit numbers