def pig(word):
  #  print "The word is",word,"which has a length of ",len(word)
  # print word[0]   prints the first letter
  # print word[1:len(word)]   prints all the word except for the first letter
  new_word = word[1:len(word)] + word[0] + "ay"   #Makes the word we want
  return new_word
  
#This is the main program
print  
print pig("box")
print
print pig("please")
print