#include #include int main() { while (1) { int n; std::scanf("%d", &n); if (n == 42) { break; } std::cout << n << std::endl; } return 0; }