The [Chinese zodiac](https://en.wikipedia.org/wiki/Chinese_zodiac) is a repeating cycle of 12 years, with each year being represented by an animal and its reputed attributes. The lunar calendar is divided into cycles of 60 years each, and each year has a combination of an animal and an element. There are 12 animals and 5 elements; the animals change each year, and the elements change every 2 years. The current cycle was initiated in the year of 1984 which was the year of the Wood Rat.

Since the current calendar is Gregorian, I will only be using years from the epoch 1924.
*For simplicity I am counting the year as a whole year and not from January/February to the end of the year.*

##Task

Given a year, return the element and animal that year represents ("Element Animal"). 
For example I'm born in 1998 so I'm an "Earth Tiger".


```animals``` (or ```$animals``` in Ruby) is a preloaded array containing the animals in order:

```['Rat', 'Ox', 'Tiger', 'Rabbit', 'Dragon', 'Snake', 'Horse', 'Goat', 'Monkey', 'Rooster', 'Dog', 'Pig']```


```elements``` (or ```$elements``` in Ruby) is a preloaded array containing the elements in order:


```['Wood', 'Fire', 'Earth', 'Metal', 'Water']```

Tell me your zodiac sign and element in the comments. Happy coding :)

Difficulty: EASY
Starter code: def chinese_zodiac(year):
	

Solutions:
animals = ['Rat', 'Ox', 'Tiger', 'Rabbit', 'Dragon', 'Snake', 'Horse', 'Goat', 'Monkey', 'Rooster', 'Dog', 'Pig']
elements = ['Wood', 'Fire', 'Earth', 'Metal', 'Water']

def chinese_zodiac(year):
	year -= 1984
	return elements[year // 2 % 5] + ' ' + animals[year % 12]


def chinese_zodiac(year):
	s = ''
	a = ['Rat', 'Ox', 'Tiger', 'Rabbit', 'Dragon', 'Snake', 'Horse', 'Goat', 'Monkey', 'Rooster', 'Dog', 'Pig']
	e = ['Wood', 'Fire', 'Earth', 'Metal', 'Water']
	e1 = (year - 1984) // 2 % 5
	a1 = (year - 1984) % 12
	s = e[e1] + ' ' + a[a1]
	return s


def chinese_zodiac(year):
	EPOCH = 1924
	ANIMALS = ['Rat', 'Ox', 'Tiger', 'Rabbit', 'Dragon', 'Snake', 'Horse', 'Goat', 'Monkey', 'Rooster', 'Dog', 'Pig']
	ELEMENTS = ['Wood', 'Fire', 'Earth', 'Metal', 'Water']
	year -= EPOCH
	res = (ELEMENTS[year // 2 % len(ELEMENTS)], ANIMALS[year % len(ANIMALS)])
	return ' '.join(res)