Convert any to any

sir help me to solve this question.

hi @ritikbunty2511_729d0258992e0982
for reference
first u r given base system of the original no in eg33 is written in base 8 system
u need to convert that to base 2 system
33 in base 8 means 27 in base 10
and 27 in base 2 is 11011 thats what is given

to do this question read about how different base system works and how to convert them

check this https://ide.codingblocks.com/s/657527