          v1.erase(v1.begin());
          cout<<a<<" "<<v1.size()<<endl;
          }
          else
          {cout<<"-1 "<<0<<endl;}}
         else if(inp=='E')
          { lli temp;
          cin>>temp;
          v1.push_back(temp);
          cout<<v1.size()<<endl;