A student represents an algorithm using the flowchart shown below.
Determine the output from this algorithm when the user input p p\,p is 18.
888
101010
000
272727