Analysis of motivations for choosing the teaching profession