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

int main(void) {
  int N;
  cin >> N;
  printf("%03d\n", N);
  return 0;
}