package perfectws; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); assert 2 <= n && n <= 1000; long max = 0; long sum = 0; boolean odd = false; boolean even = false; for(int i=0;i