Joe Jonas;Robin Fredriksson;Mattias Larsson;Justin Tranter
Below is a question that requires a concise and accurate answer. Provide a detailed explanation before concluding with the correct answer.

### Question:
who wrote the song cake by the ocean

### Answer:
