Cognizant Interview Question

Write a code to print yes if number is 6, else print no.