Advertisement
Promi_38

cf 1269A

Oct 1st, 2021
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     long long n;
  8.     cin >> n;
  9.    
  10.     if(n % 2 == 0) printf("%lld 4\n", n + 4);
  11.     else printf("%lld 9\n", n + 9);
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement