#include<iostream>
using namespace std;

void Rethrow()
{
	try
	{
		throw "ERROR";
	}
	catch(const char*)
	{
		cout<<"Caught Exception"<<endl;
		throw ; //Rrethrow the exception		
	}
}

int main(){
	try
	{
      Rethrow();		
	
	}

	catch(const char* a)
	{
		cout<<a;
	}
}