If you look carefully, you see that the pin-out of these two chip is identical.
Same package DIP28
MCLR is pin 1
Vdd = 13
Vss = 19
AVdd = 28
AVss = 27
Vcap = 20
etc. etc.
Same package DIP28
MCLR is pin 1
Vdd = 13
Vss = 19
AVdd = 28
AVss = 27
Vcap = 20
etc. etc.