#include int main(void) { char a[51]; int n ,m ,i ,j ,s=0; scanf("%d%d", &n, &m); for(i=0;i