Compare two integers