Pascal:
var n:longint;
begin
write ('N = ');
readln (n);
if ((n mod 10) mod 2 = 1) then writeln ('YES') else writeln ('NO');
readln;
end.
C++:
#include
using namespace std;
int main()
{
long n;
cout <<"N = ";<br> cin >> n;
if ((n%10)%2==1)
cout <<"YES" <<endl;<br> else cout <<"NO" <<endl;<br> return 0;
}