#include <iostream>
#include <string>
int main() {
    while (true) {
        std::string input;
        int num = 0;

        std::cout << "What number do you want to show?";
        std::cin >> input;
        try 
        {
            num = std::stoi(input);
            if (num >= 0 && num < 10)
            {
                std::cout << "FILLER: This will draw the number";

                exit(0);
            }
            else {
                std::cout << "FILLER: This is the else";
                exit(1);
            }
        }
        catch (std::runtime_error e) 
        {
            std::cout << e.what();
            //std::cout << "That is not a valid number." << '\n';
        }
    }
    return 0;
}