in 1992 , alexey graduated from middle school and began to study management at the st. petersburg state university of economics and finance ; he later gained a masters degree in management from the university , and went on to graduate from the anhalt university of applied sciences in bernburg ( germany ) with a bachelor 's degree in economics .