/* ACM North Central Region, 1993-94 Problem D, Extrapolation Using a Difference Table Ed Karrels, April 1998 */ import ContestSolution; import java.io.*; public class acmreg93c implements ContestSolution { public static void main(String[] args) { acmreg93c soln = new acmreg93c(); soln.do_it(System.in, System.out); } public void do_it(InputStream input, PrintStream output) { StreamTokenizer token_input = new StreamTokenizer(input); short[] a = new short[10]; int n, i, j, k; n = read_int(token_input); while (n != 0) { for (i=0; i0; j--) { for (i=0; i