Systemverilog shift operator question

In reply to dave_59:

Hi Dave,

I got that as question from a friend from his interview so unfortunately i dont have examples… I was thinking… solution might not be using shift operator as shift operator will shift all the bits not just odd bits…