import java.util.Scanner; public class Main40 { public static void main(String[] args) { Main40 p = new Main40(); } public Main40() { Scanner sc = new Scanner(System.in); int d = sc.nextInt(); int[] a = new int[d+1]; for(int i=a.length-1;i>=0;i--){ a[i] = sc.nextInt(); } solve(a); } public void solve(int[] a) { for(int i=0;i