华为最短系列🤭




int main() {
    int n;
    while(std::cin>>n){
        int temp = 2*n+3*(n-1)*n/2;
        std::cout<<temp;
        
    }
}