Publicis Sapient Interview Question

Few basic puzzles