#include <iostream>
using namespace std;
int main() {
cout<<"I will try to find out, whether the number you are going to enter is, divisible with both 13 and 17, or only with one of the 13 and 17."<< endl;
cout<<"Please enter a number"<< endl;
long number {0};
cin>>number;
if((!(number<=LLONG_MIN)) && (!(number>=LLONG_MAX))) {
cout<<"Sorry you did not enter a number."<< endl;
cout<<"Please enter a number: ";
}
else if( number %13==0 && number%17==0) {
cout<<number<<" is divisible with 13 & 17."<< endl;
}
else if ( number%13==0) {
cout<<number<<" is divisible with 13."<< endl;
}
else if( number%17==0) {
cout<<number<<" is divisible with 17."<< endl;
}
else {
cout<<number<<" is not divisible with 13 & 17."<< endl;
}
}