#include "stdio.h" #define MAX 1000 void main() { int a[MAX],i,n,m; scanf("%d ",&n); for(i=0;i<n;i++) scanf("%d",&a[i]); scanf("%d",&m); printf("%d\n",n); for(i=0;i<n;i++) printf("%d ",a[i]); printf("\n"); printf("%d\n",m); }