Input (grade 7): The song was written by Pink with Tre 'Shon Jenkins, Max Martin and Shellback, who also produced the song.
Output (grade 4): The song was written by Pink with Tre 'Shon Jenkins, Max Martin and Shellback. They also produced the song.