#include <iostream>
using namespace std;

void foo(const char* path) {
	char* p = const_cast<char*>(path);
	char tmp = p[1];
	p[1] = '\0';
	std::cout << p << std::endl;
	p[1] = tmp;  
}

int main() {
	char obichniy[111];
	std::cin >> obichniy;
	foo(obichniy);
	
	const char* pethu = "pethu";
	foo(pethu);
	
	return 0;
}