#include<bits/stdc++.h> using namespace std; int main(void) { vector numx; int x=0,y=0; string temp; int a = 0,w=0,s=0,d=0,num = 0,ot =0; string str; while(cin>>str) { int size = str.size(); for(int i=0;i<size;i++) { if(ot==0) if(str[i]!=';') { if(str[i] == 'A') a++; else if(str[i] ==...