#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define INF 100000000 #define LINF 9000000000000000000 #define mod 1000000007 #define rep(i,n) for(int i=0;i vi; typedef pair pi; int dx[4]={1,0,-1,0}; int dy[4]={0,1,0,-1}; bool debug=false; /*---------------------------------------------------*/ int main(){ int num=0; string s; cin>>s; ll cnt=1; ll sum=0; for(int i=0;i