Which number in each pair is larger? -31, -42 or -18, 0

-31 and 0