Hint: Convert the letters to positions of the alphabet.
The letters' positions in the alphabet are perfect squares.
Y = 25
P = 16
I = 9
D = 4
A = 1.
If you were given a one foot square piece of paper, could you cut a hole large enough to walk through?
Fold the paper in half, make cuts reaching almost across the whole width of the paper, alternating from side to side. When the paper is opened, it makes a very large loop. Here is a template which would work: