#include <iostream>
#include <string>
 
using namespace std;
 
int main() {
	string tmp;
	cin >> tmp;
	std::cout << tmp+"\n"+tmp+"\n"+tmp+"\n";
}