An AP consists of 50 terms of which 3rd term is 12 and the last term is 106. Find the 29th term.