Below is an instruction that describes a task. Write a response that appropriately completes the request in English. Please answer in English.

### Instruction:
Elvis is releasing a new album with 10 songs, but he doesn't want to waste too much time on writing. He spends 5 hours in the studio, where he writes, records, and edits his songs. Each song takes 12 minutes to record, then it takes 30 minutes to edit all of his songs.   How many minutes did it take Elvis to write each song, if each song took the same amount of time to write?

### Response:
5 hours in the studio is the same as 5 hours * 60 minutes = <<5*60=300>>300 minutes.
To record all of his songs, Elvis takes 12 minutes * 10 songs = <<12*10=120>>120 minutes.
After editing and recording 30 minutes of the studio time is left, which Elvis used to write all of his songs. This means that it took 300 minutes – 120 minutes – 30 minuets = <<300-120-30=150>>150 minutes to write all of his songs.
Song writing therefore took 150 minutes / 10 songs = <<150/10=15>>15 minutes per song.
#### 15