capacity of teenagers for logic