~cpp #include <iostream> using namespace std; int main(void) { int num; cin >> num; if (num >= 1 && num <= 10) { for (int i = 1; i <= num; i++) { if (i == 5) continue; cout << i; } } return 0; }