cycle


Cycle tags alternate between a comma-separated list of items


Syntax


{% cycle [<Group Name>: ] <Item>,...n %}



Arguments

Group Name - When calling the cycle tag, the group argument helps differentiate between cycles. If a group name is not supplied then cycle assumes multiple calls with the same parameters is the same group.


Item - The comma-separated list of items that will be recursively cycled through


Example 1:

Input


{% cycle 'Badger', 'Badger', 'Badger', 'Mushroom', 'Mushroom', 'Snake' %}

{% cycle 'Badger', 'Badger', 'Badger', 'Mushroom', 'Mushroom', 'Snake' %}

{% cycle 'Badger', 'Badger', 'Badger', 'Mushroom', 'Mushroom', 'Snake' %}

{% cycle 'Badger', 'Badger', 'Badger', 'Mushroom', 'Mushroom', 'Snake' %}

{% cycle 'Badger', 'Badger', 'Badger', 'Mushroom', 'Mushroom', 'Snake' %}

{% cycle 'Badger', 'Badger', 'Badger', 'Mushroom', 'Mushroom', 'Snake' %}

{% cycle 'Badger', 'Badger', 'Badger', 'Mushroom', 'Mushroom', 'Snake' %}



Output


Badger

Badger

Badger

Mushroom

Mushroom

Snake

Badger



Example 2:

Input


{% cycle 'Numbers': '1', '2', '3', '4', '5' %}) {% cycle 'Sports': 'Soccer', 'Football', 'Rugby', 'Baseball' %}

{% cycle 'Numbers': '1', '2', '3', '4', '5' %}) {% cycle 'Sports': 'Soccer', 'Football', 'Rugby', 'Baseball' %}

{% cycle 'Numbers': '1', '2', '3', '4', '5' %}) {% cycle 'Sports': 'Soccer', 'Football', 'Rugby', 'Baseball' %}

{% cycle 'Numbers': '1', '2', '3', '4', '5' %}) {% cycle 'Sports': 'Soccer', 'Football', 'Rugby', 'Baseball' %}

{% cycle 'Numbers': '1', '2', '3', '4', '5' %}) {% cycle 'Sports': 'Soccer', 'Football', 'Rugby', 'Baseball' %}

{% cycle 'Numbers': '1', '2', '3', '4', '5' %}) {% cycle 'Sports': 'Soccer', 'Football', 'Rugby', 'Baseball' %}



Output


1) Soccer

2) Football

3) Rugby

4) Baseball

5) Soccer

1) Football