Help me in solving AGELIMIT problem

My issue

My code

#include <iostream>
using namespace std;

int main() {
	int age ;
	cin>>age;
	if(age>=18)
	{
	    std::cout << YES << std::endl;
	    
	}
	else{
	    cout<< NO <<endl ;
	}
	return 0;
}

Problem Link: AGELIMIT Problem - CodeChef