#include <iostream>
#include <map>
#include <string>
#include <vector>

int main() {

    std::map<std::pair<int, int>, std::string> mymap;
    for(int i = 0; i < 10; i = i + 2) {
        std::pair<int, int> temp;
        temp.first = i;
        temp.second = i+1;
        std::string temp2;
        std::cout << "Enter a string: ";
        std::cin >> temp2;
        mymap[temp] = temp2;
    }

    int count =0;
    while(count++ != 3) {
        int temp, temp2;
        std::cout << "Enter a number: ";
        std::cin >> temp;
        std::cout << "Enter another number: ";
        std::cin >> temp2;

        std::pair<int, int> test;
        test.first = temp;
        test.second = temp2;
        std::cout << mymap[test] << std::endl;
    }

    return 0;
}