import java.util.Scanner; //Parse String public class Program01 { public static void main(String[] args) { Scanner scanner = new Scanner("1, 2, 3, 4, 5, 6, 7, 8, 9, 10").useDelimiter(", "); while (scanner.hasNextInt()) { int num = scanner.nextInt(); if (num % 2 == 0) System.out.println(num); } } }