Help me in solving BMMC18 problem

My issue

My code

// Update the code below to solve the problem

#include <iostream>
#include <string>
using namespace std;

int main() 
{
 int t;
 cin>>t;
while(t--)
 { 
     int a,b;
     cin>>a>>b;
     cout<<min(a,b)<<endl;
  }
 return 0;
}

Learning course: Solve Programming problems using C++
Problem Link: CodeChef: Practical coding for everyone

@vaishnavi1010
The logic is not right .
question asks for what minimum score alice or the bob needs to reach seven so that charlie gets his turn.