#include <iostream>
using namespace std;

int main() {
	// your code goes here
	int arr[] = {2,7,11,15};
	int target = 9;
	int n1, n2;
	
	for(int i = 0 ; i < 4 ; i++)
	{
		for(int j = 0 ; j < 4 ; j++)
		{
			if(arr[i] + arr[j] == target)
			{
				n1 = i;
				n2 = j;
			}
		}
	}
	cout<< n1 << " , " << n2;
	return 0;
}