Java 代码
import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner cin = new Scanner(System.in);
int n = cin.nextInt();
if ( n % 2 == 0)
n += 1;
for (int i = 0; i < 6; i ++)
{
System.out.println (n);
n += 2;
}
}
}