You will be given a definition of a task first, then some input of the task.
Given a math problem with context and a question and 5 answer choices, the task is to provide the correct answer choice based on the problem. You must choose one of the given answer choices by letter: a, b, c, d, or e; anything else is invalid.

Problem: in a photography exhibition, some photographs were taken by octavia the photographer, and some photographs were framed by jack the framer. jack had framed 24 photographs taken by octavia, and 12 photographs taken by other photographers. if 36 of the photographs in the exhibition were taken by octavia, how many photographs were either framed by jack or taken by octavia ?
Options: a. 36, b. 48, c. 72, d. 96, e. 108
Output:
b