#include <iostream>
#include <string>
using namespace std;

int main()
{
    string str1 = "Black Dragon";
    string str2 = "魔法を操る剣士";
    str1.erase(5);
    str2.erase(2, 8);
    cout << "str1.erase(5)の結果:" << str1 << endl;
    cout << "str2.erase(2, 8)の結果:" << str2 << endl;
}
