You will be given a definition of a task first, then some input of the task.
Given a math word problem, answer the following question. You might need to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the question and then only report the final numerical answer.

ralph has a photo album with 50 pages . he has 26 pictures of wild animals . ralph 's friend derrick has 34 pictures of wild animals . how many fewer pictures of wild animals does ralph have ?
Output:
8