#include<bits/stdc++.h>
using namespace std;
int main(){
    cout << "sheep_go" << endl;
    cout << "nothing_come" << endl;
    cout << "vegetable_go" << endl;
    cout << "sheep_come" << endl;
    cout << "wolf_go" << endl;
    cout << "nothing_come" << endl;
    cout << "sheep_go" << endl;
    cout << "succeed";
    return 0;
}

想到方法直接输出就好了