cpp
1#include <iostream>
2#include <cmath>
3using namespace std;
4,[object Object],
5,[object Object],
cpp
1int main() {,[object Object],
2int n;,[object Object],
3cin >> n;,[object Object],
4cout << solve2(solve1(n)) << " " << solve1(solve2(n)) << endl;,[object Object],
5return 0;,[object Object],
6},[object Object],