#include
int main (){
int n,rem;
printf("enter a number: ");
scanf ("%d",& n);
rem=n%10;
if(rem%2==0)
{
printf("Last number %d is EVEN",rem);
}
else
{
printf("Last number %d is ODD",rem);
}
return 0;
}