Extend the fraction 163/101 with a number such that the resulting fraction will have a numerator and a denominator whose sum are square numbers. Please provide the smallest of such number.

I've had some problems with this task, hope that you can help me.