import java.util.Scanner;
public class Main {
        public static void main(String[] args){
            Scanner sc = new Scanner(System.in);
            while(sc.hasNext()){
                int m = sc.nextInt();
                int sum = m*m*m;
                int a1 =sum/m-(m-1);//等差数列 等差数为2
              //先把a1 直接初始化成sb
                StringBuilder sb = new StringBuilder(Integer.toString(a1));
                for(int i=1;i<m;i++){
                    a1=a1+2;
                    sb.append("+");
                    sb.append(a1);
                }
                System.out.println(sb);
            }
        }
}