using System; using System.Collections; using System.Collections.Generic; class TEST{ static void Main(){ Sol mySol =new Sol(); mySol.Solve(); } } class Sol{ public void Solve(){ var D=Calc(S); Console.WriteLine(String.Join(" ",D)); } long[] Calc(String s){ long[] ret=new long[d+1]; char[] dd=new char[s.Length]; int cnt=0; for(int i=0;i='0'&&ss[i][j]<='9'){ x=(long)(ss[i][j]-'0'); deriv=(kk[i][j]-'0'); } if(ss[i][j]=='x'){deg++;deriv=(kk[i][j]-'0');} } for(int j=0;jint.Parse(e));} static long[] rla(){return Array.ConvertAll(Console.ReadLine().Split(' '),e=>long.Parse(e));} static double[] rda(){return Array.ConvertAll(Console.ReadLine().Split(' '),e=>double.Parse(e));} }