#include #include int main() { int a, b; std::cin >> a >> b; std::string str; bool love_flag = false; for (int i = 0; i> str; std::string check_str; for (int j = 0; j