#include<iostream>
using namespace std;
 void main()
 {
	 int a[3];
	 int i=0;
	 while(1)
	 {
		 try
		 {
			 cout<<"Please input a number"<<endl;
			 cin>>a[i];
			 ++i;
			 if(i>=3)
				 throw 0;
		 }
		 catch(int)
		 {
			 cout<<"Over"<<endl;
			 break;
		 }
	 }
 }
