#include <vector>
using namespace std;
vector<int> getVisionPattern1d()
{
    return {1, 2, 3};
}
int getMove1d(vector<int> v)
{
    int mid = v.size() / 2;
    if(v[mid] == 1)
    {
        for(int i = 0; i < v.size(); i++)
            if(v[i] == 2)
                return i;
    }
    if(v[mid] == 2)
    {
        if(v[0] == 1)
            return 0;
        else
            return (v.size() - 1);
    }
    if(v[mid] == 3)
    {
        if(v[1] == 1)
            return (v.size() - 1);
        else
            return 0;
    }
}
std::vector<std::vector<int>> getVisionPattern2d()
{
    return {{1}};
}

std::pair<int, int> getMove2d(std::vector<std::vector<int>> v)
{
    return {0, 0};
}
