// editor4
#include<iostream>
#include<string>
#include<cctype>
using namespace std;
int main()
{
    string str;
    int len=str.length()-1;
    for(int i=0;i<=len;i++)
    {
        if(isdigit(str))
        {
            cout<<"Invalid input";
            break;
        }
        else
        {
            if(str[i]!=" ")
            {
                cout<<str;
            }
        }
    }
}