The average of 20, 70 and x is 40. If the average of 20, 70, x and y is 50, then y=?