Answer :

O=9, P=7, S=6. first limit O as it is the unit's digit of a square then do trial and error.