#include<iostream>
#include<string>
using namespace std;
bool isAllDigits(const string &s){
    if(s.empty())
    return false;
    for (char c : s){
        if (!isdigtit(c))
        return false;
    }
    return true;
}
int main(){
    string s;
    cin >> s;
    
    if (isAllDigits(s))
        cout<<"true";
    else
       cout<<"false";
    return 0;
}