Skip to content

Commit d50fe54

Browse files
authored
Add files via upload
commit for the sol of 472A.cpp
1 parent a1973d0 commit d50fe54

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

472A.cpp

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#include<bits/stdc++.h>
2+
#include<conio.h>
3+
4+
using namespace std;
5+
6+
int main(){
7+
8+
int n;
9+
10+
cin>>n;
11+
12+
if(n%2 == 0){
13+
14+
cout<< n - 4 << " 4" <<endl;
15+
16+
}
17+
else
18+
{
19+
cout<< n - 9 << " 9" <<endl;
20+
}
21+
22+
getch();
23+
return 0;
24+
}

0 commit comments

Comments
 (0)