#include <iostream>
int main()
{
int a;
unsigned int i = 0;
std::cin >> a;
while (a != i)
++i;
}
std::cout << i;
return 0;
#include <iostream>
int main()
{
int a;
unsigned int i = 0;
std::cin >> a;
while (a != i)
{
++i;
}
std::cout << i;
return 0;
}