import java.util.*;
public class Main{
    public static void main(String[] arg){
        Scanner s=new Scanner(System.in);
        while(s.hasNext()){
            String input=s.nextLine();
            int count=Integer.parseInt(input);
            int initCount=count*(count-1)-1;
            for(int i=0;i<count;i++){
                initCount=initCount+2;
                if(i==count-1){
                    System.out.print(initCount);
                }else
                System.out.print(initCount+"+");
            }
            System.out.println();
        }
    }
}