The pulsar in type II supernova 1987 A