Dãy Số #2

PDF

Submit solution

Points: 10.00
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem types
Allowed languages
C, C++, Java, Pascal, Python, Scratch, TEXT

Yêu cầu

Nhập vào số nguyên ~n~, xuất ra dãy số chẵn trong đoạn ~[1,n]~.

Dữ liệu

Một dòng duy nhất, gồm số nguyên ~n~ ~(0< n\le 10^3)~.

Kết quả

Ghi ra dãy số chẵn trong đoạn ~[1,n]~, mỗi số cách nhau một khoảng trắng, sau mỗi năm số, xuống dòng một lần.

Input

16

Output

2 4 6 8 10 
12 14 16

Comments

Please read the guidelines before commenting.


There are no comments at the moment.