Original: The song was written by Pink with Tre 'Shon Jenkins, Max Martin and Shellback, who also produced the song.
Simplified: The song was written by Pink with Tre 'Shon Jenkins, Max Martin and Shellback. They also produced the song.