#include
#include
#include
#include
#include
#include
using namespace std;
int main()
{
deque player(5);
deque::iterator i;
player[0] = "PPPP";
player[1] = "AAAAAA";
player[2] = "AAAAAA";
player[3] = "NNNNNNNN";
player[4] = "RRRRRRRRR";
// Find the first pair of equal consecutive names:
i = adjacent_find(player.begin(), player.end());
cout << *i;
return 0;
}
/*
AAAAAA
*/