Help me in solving LBCV208 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 N, M;
   cin>>N>>M;
   if(N<=M){
       cout<<"number of shoes the cheif needs to buy is "<< N <<endl;
   }
   else 
   {
       cout<<"number of shoes the cheif needs to buy are "<< 2*N-M <<endl ;
   }
  
  }
  
return 0;
}

Learning course: C++ for problem solving - 2
Problem Link: CodeChef: Practical coding for everyone

@anurag123bagri
U don’t need to print “number of shoes the cheif needs to buy is” and " number of shoes the cheif needs to buy are".