// editor2
#include <iostream>
#include <string>
#include <cctype>

using namespace std;

bool isAllDigits(const string& s)
{
    if (s.empty())
    {
        return false;
    }
    for (char c : s)
    {
        if (!isdigit(c))
        {
            return false;
        }
    }
    return true;
}