1.

/**
* FWP, Ausgewählte Probleme aus dem ACM Programming Contest, WS10/11
* Problem: 10929 You can say 11
* Link: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&page=show_problem&problem=979
*
* @author Anton Pavlushko, IBB7B,
* @version 1.0, 10/10/2010
*
* Status : Accepted
* Runtime: 0.300
*/

import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String current_line = "";
int difference, length, i;

try {
while ((current_line=in.readLine())!= null && !current_line.equals("0")) {
difference = 0;
length=current_line.length();
for(i=0;i<length;i++)
difference+=(i%2==0?1:-1)*Character.getNumericValue(current_line.charAt(i));

if (difference%11==0)
System.out.println(current_line+" is a multiple of 11.");
else
System.out.println(current_line+" is not a multiple of 11.");

} // end while
} // end try
catch (IOException e) {
System.err.println("Error: " + e);
}
}
}