TP 13 exo1: implement odd and even elements counting with callbacks