Here's how it works:
1. Move the first letter to the end: "Amy" becomes "yma"
2. Add "ay" to the end: "yma" becomes "ymay"
3. Move the "y" back to the beginning: "ymay" becomes "Amyway"
Here's how it works:
1. Move the first letter to the end: "Amy" becomes "yma"
2. Add "ay" to the end: "yma" becomes "ymay"
3. Move the "y" back to the beginning: "ymay" becomes "Amyway"