The smallest number which when divided by 20, 25, 35 and 40 and leaves a remainder of 14, 19, 29 and 34 respectively is