Update ex3_total_sub.pl