请把下面这句话翻译成英文，并且字数不能少于30个单词，不能超过35个单词。

小明喜欢数学，因为数学不仅锻炼了他的逻辑思维能力，还提高了他的解题速度。
user
Xiaoming enjoys math because it not only strengthens his logical thinking abilities but also increases his problem-solving speed.
assistant