import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int a,b,c,i;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
a = sc.nextInt();
b = sc.nextInt();
if(a==0) break;
for (c= i = 0; i <100 ; i++) {
if((a*100+i)%b==0) {
if (c++==0)
System.out.printf("%02d",i);
else
System.out.printf(" %02d",i);
}
}
System.out.println();
}
}
}
网友评论