Check only the words that have an accent mark because the stress is before the next-to-last syllable.
matemáticas
café
librería
filósofo
académico
fútbol