What influenced Albert Einstein?

he got influenced by Marcell Crossman who was a classmate of einsteins and told him to be a mathsmatician