AVTAR Interview Question

write a logic for Lift