Accenture interview question

write a code for simple lightning component