aboutsummaryrefslogtreecommitdiff
path: root/semestr-4/aisd/themis/AISDDEBIUT21.cpp
blob: 3666d69997e9ca2af535016e607d1634084d828e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 *  Autor: Franciszek Malinka
 *  Numer indeksu: 316093
 *  Prowadzący: WJA
 */

#include <bits/stdc++.h>
using namespace std;

int main()
{
  ios_base::sync_with_stdio(false);
  cin.tie();
  int a, b;
  cin >> a >> b;
  for (int i = a; i <= b; i++)
  {
    if (i % 2021 == 0)
    {
      cout << i << " ";
    }
  }
  cout << "\n";
}