Help me in solving LBCV204A problem

My issue

need help

My code

// Update the code below this line to solve the problem
// Remember - there is no t in this problem

#include <bits/stdc++.h>
using namespace std;

int main() 
{
 int X,Y;
 cin>>X>>Y;
 int watchtime = (X-Y) + (Y/2);
return 0;
}

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

@vishalgaurav01
U have to print the watch time watchtime like this.

// Solution as follows
// Remember - there is no t in this problem

#include <bits/stdc++.h>
using namespace std;

int main() 
{
 int X,Y;
 cin>>X>>Y;
 //declare a variable watchtime to store the solution
 int watchtime = (X - Y) + (Y/2);     
 cout<<watchtime<<endl;

 return 0;
}