As a helpful and smart assistant, your task is to parse a given text in any language to Universal Dependency (UD) format including POS tags and dependency relations (HEAD and DEPREL).
Key Components of UD Annotation:
1. Tokens: The fundamental units within UD are tokens. These can be individual words, punctuation marks, or even parts of multi-word expressions. Each token has several associated attributes.
2. UPOS Tags: The UPOS field in the CoNLL-U format represents the universal part-of-speech tag assigned to each word. This tag is part of a universal POS tag set designed to be applicable across different languages. The UPOS tags include categories such as NOUN, VERB, ADJ (adjective), ADV (adverb), PRON (pronoun), DET (determiner), and more. 
3. Dependency Relations: Dependency relations are the core of the syntactic representation. They form a tree structure over the tokens in a sentence. Here's how they work:
    - HEAD: This field indicates the head of the current word. The head is the word that the current word is connected to in the dependency parse tree. The value is an integer that corresponds to the ID of the head word within the same sentence. A value of zero (0) indicates that the word is the root of the sentence.
    - DEPREL: The DEPREL field specifies the type of dependency relation between the current word and its head (as specified in the HEAD field). The value is a universal dependency relation or a language-specific subtype of such a relation.
Note: Blank lines are used to mark the boundaries between sentences.
Example:
Let's analyze this sentence with its UD annotation:
"The big dog chased the cat."
1. Tokenization:
- The
- big
- dog
- chased
- the
- cat
- .
2. UPOS Tags:
- The: DET
- big: ADJ
- dog: NOUN
- chased: VERB
- the: DET
- cat: NOUN
- .: PUNCT
3. Head node (parent):
- The: the parent of this word is "dog" at position 3
- big: the parent of this word is "dog" at position 3
- dog: the parent of this word is "chased" at position 4
- chased: this is the root node, therefore its head is 0
- the: the parent of this word is "cat" at position 6
- cat: the parent of this word is "chased" at position 4
- .: the parent of this word is "chased" at position 4
3. Dependency Relations:
- root(ROOT, chased)
- det(dog, The)
- amod(dog, big)
- nsubj(chased, dog)
- det(cat, the)
- obj(chased, cat)
Combining the above annotations, the final output in UD format is:
Position	Tokenization	UPOS	Head	Deprel
1	The	DET	3	det
2	big	ADJ	3	amod
3	dog	NOUN	4	nsubj
4	chased	VERB	0	ROOT
5	the	DET	6	det
6	cat	NOUN	4	obj
7	.	PUNCT	4	punct
Generate UD annotations for the following tokenized text:
McCain, de 62 años, senador por Arizona desde hace 13 años, ex piloto de la Marina y prisionero de guerra en Vietnam durante casi 6 años, dio un mitin en la localidad de Lavonia, muy cerca de Detroit, en el que mostró su capacidad de rehacerse después del golpe de Carolina del Sur.
Postion	Tokenization
1	McCain
2	,
3	de
4	62
5	años
6	,
7	senador
8	por
9	Arizona
10	desde
11	hace
12	13
13	años
14	,
15	ex
16	piloto
17	de
18	la
19	Marina
20	y
21	prisionero
22	de
23	guerra
24	en
25	Vietnam
26	durante
27	casi
28	6
29	años
30	,
31	dio
32	un
33	mitin
34	en
35	la
36	localidad
37	de
38	Lavonia
39	,
40	muy
41	cerca
42	de
43	Detroit
44	,
45	en
46	el
47	que
48	mostró
49	su
50	capacidad
51	de
52	rehacerse
53	rehacer
54	se
55	después
56	del
57	golpe
58	de
59	Carolina
60	del
61	Sur
62	.
Position	Tokenization	UPOS	Head	Deprel
1	McCain	PROPN	31	nsubj
2	,	PUNCT	5	punct
3	de	ADP	5	case
4	62	NUM	5	nummod
5	años	NOUN	1	nmod
6	,	PUNCT	5	punct
7	senador	NOUN	1	appos
8	por	ADP	9	case
9	Arizona	PROPN	7	nmod
10	desde	ADP	11	mark
11	hace	VERB	7	advcl
12	13	NUM	13	nummod
13	años	NOUN	11	obj
14	,	PUNCT	16	punct
15	ex	ADJ	16	amod
16	piloto	NOUN	7	conj
17	de	ADP	19	case
18	la	DET	19	det
19	Marina	PROPN	16	nmod
20	y	CCONJ	21	cc
21	prisionero	NOUN	7	conj
22	de	ADP	23	case
23	guerra	NOUN	21	nmod
24	en	ADP	25	case
25	Vietnam	PROPN	21	nmod
26	durante	ADP	29	case
27	casi	ADV	29	advmod
28	6	NUM	27	nummod
29	años	NOUN	21	nmod
30	,	PUNCT	1	punct
31	dio	VERB	0	root
32	un	DET	33	det
33	mitin	NOUN	31	obj
34	en	ADP	36	case
35	la	DET	36	det
36	localidad	NOUN	31	obl
37	de	ADP	38	case
38	Lavonia	PROPN	36	nmod
39	,	PUNCT	41	punct
40	muy	ADV	41	advmod
41	cerca	ADV	36	advmod
42	de	ADP	43	case
43	Detroit	PROPN	41	obl
44	,	PUNCT	41	punct
45	en	ADP	47	case
46	el	DET	47	det
47	que	PRON	48	obl
48	mostró	VERB	31	advcl
49	su	DET	50	det
50	capacidad	NOUN	48	obj
51	de	ADP	52	mark
52	rehacerse	_	None	_
53	rehacer	VERB	50	acl
54	se	PRON	52	obj
55	después	ADV	48	advmod
56	del	ADP	56	case
57	golpe	NOUN	54	obl
58	de	ADP	58	case
59	Carolina	PROPN	56	nmod
60	del	ADP	60	case
61	Sur	PROPN	58	flat
62	.	PUNCT	31	punct