using System;
public class Program
{
public static void Main()
//Louis Ramiro Alicea Hernández
Console.WriteLine(".. 5, 11, 23, 47 ... ");
Console.WriteLine(" what position of the series you would like to know?");
int position;
int num = 2;
position = int.Parse(Console.ReadLine());
for (int i = 1; i < position; i++)
num = 2*num +1;
}
Console.WriteLine(num);