#include <iostream>
#include <string>
using namespace std;
int main()
{
string sentence = "i coding";
sentence.insert(2, "hate "); //첫번쨰인자는 sentence문자열의 2번째를 의미합니다.
cout << sentence << endl; // i hate coding
sentence.insert(7, "or like "); //i hate or like coidng
cout << sentence << endl;
return 0;
}