import re
subject = "-1007.88670550662*p**(-1.0) + 67293.8347365694*p**(-0.416543501823503)"
a,_,b,c = re.findall(r"[\d\-.]+", subject)
print a,b,c