Psychiatry

A 14-year-old boy has difficulty in expressing himself in writing and makes frequent spelling mistakes. He passes his examination with poor marks. However his mathematical ability and social adjustment are appropriate for his age. Which of the following is the most likely diagnosis?