#include int main() { int a; std::scanf("%d", &a); std::printf("%03d\n", a); }