#include <iostream>
#include <thread>

int main() {
	using std::thread;
	using std::cout;
	using std::endl;
	
	thread th([](){cout << "Hello from other thread" <<endl;});
	
	cout << "Hello from main thread" << endl;
	th.join();
	
	return 0;
}