Victor “Ego” Hugo actively refused to go to the Polytechnic school because he didn’t want to do A Math; his father tried to force him, financially, and he willfully bombed out
but by all records he totally could do math
he just really, really,really didn’t want to, ever
Furthermore, his dad actively didn’t want him to be a writer and cut him off financially unless he would agree to follow a more Mathtastic career; this is certainly a part of why Hugo worked so intensely on his writing career as a very young man
Les Mis is not only full of terrible math; it is in many ways the result of and monument to one man’s absolute devotion to Not Doing Math