trying to take 2 different space separated number input as a string, concatenate them and print final string. somehow the input always messes up...
#define SORT(a)                 sort(a.begin(),a.end())
using namespace std;
int main()
{
  int level, count = 0;
  cin >> level;
  string lx, ly, f;
  getline(cin, lx);
  getline(cin, ly);
  f = lx + " " + ly;
  SORT(f);
  int size = f.size();
  cout << f << endl << size << endl << level << endl;
  return 0;
}
 
    