Yes, you can contribute the whole amount to your RRSP, as long as you have enough contribution room.
Please check the following FAQs:
Where do I enter eligible retiring allowance (severance) that has been transferred to an RRSP?
Where can I find out how much room I have to contribute to my RRSP this year?
If you require further assistance please contact our phone support team or contact us directly on Facebook or Twitter.