<image>Qin Jiushao was a mathematician during the Southern Song Dynasty of China, from Puzhou (currently Anyue County, Sichuan Province). In his work "Mathematical Treatise in Nine Sections," he proposed the Qin Jiushao algorithm for polynomial evaluation, which remains an advanced algorithm today. The program flowchart shown in the image provides an example of using the Qin Jiushao algorithm to evaluate a certain polynomial. If the values of \( n \) and \( x \) are 3 and 2 respectively, the output value \( v \) is ________. 