0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-10 08:38:49 +00:00
OI-codes/Luogu/P6850/P6850.cpp

17 lines
362 B
C++
Raw Normal View History

2020-10-09 12:59:36 +00:00
// R39590203
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, f, e, g, h, i;
cin >> a >> b >> c >> d >> e >> f >> g >> h >> i;
if ((h && 50 + a + b + c + d + e + f + g + 5 >= i) || (50 + a + b + c + d + e + f + g >= i)) {
cout << "AKIOI" << endl;
2021-11-19 09:01:13 +00:00
} else {
2020-10-09 12:59:36 +00:00
cout << "AFO" << endl;
}
return 0;
}