// 21_21-2.cpp : コンソール アプリケーションのエントリ ポイントを定義します。
//

#include "stdafx.h"
#include <iostream>
#include <windows.h>
#include <string>
using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
	string ss;
	while (cin >> ss) {	// 入力終了ならfalse判定になる
		cout << "(" << ss << ")\n";
	}

	MessageBox(NULL, _T("Check Console Window"), L"MessageBox", MB_OK);

	return 0;
}

