#include <iostream>
using namespace std;
int main()
{
long long int num;
while (true)
{
cin >> num;
if (num == 0)
{
break;
}
if (num % 11 == 0)
{
cout <<num<< " is a multiple of 11." << endl;
}
else
{
cout << num << " is not a multiple of 11." << endl;
}
}
}