Very bad idea to take out RRSPs and take the penalty in the hopes that you may get selected to sponsor your parents. You still need actual funds to support your parents and at 39k it would be hard to pay for many expenses related to ageing in Canada. You would also be harming your own financial future by taking out RRSPs.you can also utilize your RRSP, but meantime you pay more tax that year. it should serve as last resort, if you are only short of a little on line 150.
i will stop here. this is an immigration forum