5.
\begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{22ff916a-4ba8-4e0c-9c53-e82b0aff0b98-06_1388_1648_246_221}
\captionsetup{labelformat=empty}
\caption{Figure 4}
\end{figure}
An algorithm is described by the flow chart shown in Figure 4.
Given that \(x = 27\) and \(y = 5\),
- complete the table in the answer book to show the results obtained at each step when the algorithm is applied. Give the final output.
The numbers 122 and \(\frac { 1 } { 2 }\) are to be used as inputs for the algorithm described by the flow chart.
- State, giving a reason, which number should be input as \(x\).
- State the output.