#include <deque>
#include <algorithm>
#include <iostream>
int main() {
std::deque<int> d = {0, 1, 2, 5, 8, 4, 1, 6, 4};
std::cout << *std::max_element(d.begin(), d.end()) << '\n';
return 0;
}
I2luY2x1ZGUgPGRlcXVlPgojaW5jbHVkZSA8YWxnb3JpdGhtPgojaW5jbHVkZSA8aW9zdHJlYW0+CgppbnQgbWFpbigpIHsKICAgIHN0ZDo6ZGVxdWU8aW50PiBkID0gezAsIDEsIDIsIDUsIDgsIDQsIDEsIDYsIDR9OwogICAgc3RkOjpjb3V0IDw8ICpzdGQ6Om1heF9lbGVtZW50KGQuYmVnaW4oKSwgZC5lbmQoKSkgPDwgJ1xuJzsKICAgIHJldHVybiAwOwp9