Move the first letter of each word to the end of it, then add "ay" to the end of the word. Leave punctuation marks untouched.

## Examples

```python
pig_it('Pig latin is cool') # igPay atinlay siay oolcay
pig_it('Hello world !')     # elloHay orldway !
```
```C++
pig_it("Pig latin is cool");   // igPay atinlay siay oolcay
pig_it("Hello world !");       // elloHay orldway
```
```Java
PigLatin.pigIt('Pig latin is cool'); // igPay atinlay siay oolcay
PigLatin.pigIt('Hello world !');     // elloHay orldway !
```

Source: codewars | Difficulty: EASY

Starter code: def pig_it(text):
	

Solutions:
def pig_it(text):
	lst = text.split()
	return ' '.join([word[1:] + word[:1] + 'ay' if word.isalpha() else word for word in lst])


def pig_it(text):
	return ' '.join((x[1:] + x[0] + 'ay' if x.isalnum() else x for x in text.split()))


def pig_it(text):
	res = []
	for i in text.split():
		if i.isalpha():
			res.append(i[1:] + i[0] + 'ay')
		else:
			res.append(i)
	return ' '.join(res)


def pig_it(text):
	new_string = ''
	for each in text.split():
		if each == '?':
			new_string += '? '
		elif each == '!':
			new_string += '! '
		else:
			new_string += each[1:len(each)] + each[0] + 'ay '
	a = len(new_string)
	return new_string[0:a - 1]


import re

def pig_it(text):
	return re.sub('([a-z])([a-z]*)', '\\2\\1ay', text, flags=re.I)


import re

def pig_it(text):
	return re.sub('(\\w{1})(\\w*)', '\\2\\1ay', text)


from string import punctuation

def pig_it(text):
	words = text.split(' ')
	return ' '.join(['{}{}ay'.format(word[1:], word[0]) if word not in punctuation else word for word in words])


def pig_it(text):
	return ' '.join([w[1:] + w[0] + 'ay' if w.isalpha() else w for w in text.split(' ')])


def pig_it(text):
	piggy = []
	for word in text.split():
		if word.isalpha():
			piggy.append(word[1:] + word[0] + 'ay')
		else:
			piggy.append(word)
	return ' '.join(piggy)


def pig_it(text):
	n = 0
	x = 0
	text = text.split()
	text = list(text)
	pig_text = []
	for word in text:
		a = list(word)
		print(a)
		if len(a) > 1:
			a.append(a[0])
			del a[0]
			a.append('ay')
		if '!' in a:
			n += 1
		elif '?' in a:
			x += 1
		elif len(a) == 1:
			print(a)
			a.append('ay')
		a = ''.join(a)
		pig_text.append(a)
	pig_text = ' '.join(pig_text)
	return pig_text