#include <algorithm>
#include <iostream>
#include <cstdio>
#include <cstring>
#include <string>
std::string a, b;
int main() {
std::cin >> a >> b;
if(a == b) std::cout << a;
else std::cout << 1;
return 0;
}
Codeforces 664A Gerald and Giant Chess
最新推荐文章于 2022-10-17 00:00:00 发布