 Hawkesworth attributes Andrić's initial lack of academic success at least partly to his alienation from most of his teachers.Nonetheless, he excelled in languages, particularly Latin, Greek and German.Although he initially showed substantial interest in natural sciences, he later began focusing on literature, likely under the influence of his two Croat instructors, writer and politician Đuro Šurmin and poet .