Advertisement
STANAANDREY

pc7

Oct 6th, 2022 (edited)
682
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.   unsigned n;
  5.   scanf("%d", &n);
  6.   if (n % 2) {
  7.     printf("%d %d\n", n - 2, n - 4);
  8.   } else {
  9.     printf("%d %d\n", n - 1, n - 3);
  10.   }
  11.   return 0;
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement