MARK AS BRAINLIEST
Below is the table of values of a function. Write the output when the input is n.
input
1
2
8
n


output
5
6
12
?