#include int main() { using namespace std; cin.tie(nullptr)->sync_with_stdio(false); int h, w; cin >> h >> w; vector g(w); int base = 1; for (int i = 0; i < h; ++i) { for (int j = 0; j < w; ++j) { char c; cin >> c; if (c == 'o') { g[j] += base; g[j] %= 3; } } base *= 2; base %= 3; } cout << (accumulate(begin(g), end(g), 0, bit_xor{}) ? "First\n" : "Second\n"); }