Mathematics (Fourth Primary)

Comparison

Which number is the smallest: 34, 29, 42, 31?