#include using namespace std; int main(){ int H, W; cin >> H >> W; vector B(H); for (int i = 0; i < H; i++){ cin >> B[i]; } int X = 0; for (int i = 0; i < W; i++){ int p = 0; for (int j = H - 1; j >= 0; j--){ p *= 2; if (B[j][i] == 'o'){ p++; } p %= 3; } X ^= p; } if (X > 0){ cout << "First" << endl; } else { cout << "Second" << endl; } }