Foundation November 2023 Paper 3 Q15

15 Here are two number machines.

First machine: Input 30, then ÷ 6, then + 18, then Output (blank). Second machine: Input 30, then × 3, then − a, then Output (blank)

The outputs are the same.

Work out the value of \(a\). [4 marks]