Given the task definition and input, reply with output. This task evaluates for the ability to follow basic natural language instructions nested and performing a sequence of operations, including basic logic and conditionals.

Repeat historic church building twice, but after every word also say wow
historic wow church wow building wow historic wow church wow building wow