ll@N;wt(mint(2)**(N/2)*(N&1?10:7)-2N-6);