// Read N (N<10) from keybird and output Even from N - 20 import java.util.Scanner; class CountUpEven_N_20 { public static void main(String[] args) { Scanner input = new Scanner(System.in); int N = input.nextInt(); if( N%2 == 1) // odd N++; int count = N; while (count <= 20) { System.out.print(count + " "); count += 2; } System.out.println ("\n\n\n"); } }