#include using namespace std; int n, m, v[101]; void citeste () { cin>>n>>m; char a; for (int i=1; i<=n; i++) for (int j=1; j<=m; j++) { cin>>a; if (a == '.') v[j] = v[j] | 1; else v[j] = v[j] | 0; } } void rezolva () { int sol = 0; for (int i=1; i<=m && v[i]; i++) sol++; sol = sol + n-1; cout<