Jio interview question

Replace all '.' with '('.