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 ?