#include <sstream>
#include <iostream>
using namespace std;
int main(void)
{
int number=123456;
stringstream ss;
ss<<number;
string s = ss.str();
cout << s;
return 0;
}
#include <sstream>
#include <iostream>
using namespace std;
int main(void)
{
int number=123456;
stringstream ss;
ss<<number;
string s = ss.str();
cout << s;
return 0;
}