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 se retiró de la contienda con 231 delegados y Bush ha conseguido 617, por lo que necesita aún 317 para lograr 1.034, el número mágico para tener realmente en sus manos la candidatura presidencial republicana.
Postion	Tokenization
1	McCain
2	se
3	retiró
4	de
5	la
6	contienda
7	con
8	231
9	delegados
10	y
11	Bush
12	ha
13	conseguido
14	617
15	,
16	por
17	lo
18	que
19	necesita
20	aún
21	317
22	para
23	lograr
24	1.034
25	,
26	el
27	número
28	mágico
29	para
30	tener
31	realmente
32	en
33	sus
34	manos
35	la
36	candidatura
37	presidencial
38	republicana
39	.
Position	Tokenization	UPOS	Head	Deprel
1	McCain	PROPN	3	nsubj
2	se	PRON	3	expl:pv
3	retiró	VERB	0	root
4	de	ADP	6	case
5	la	DET	6	det
6	contienda	NOUN	3	obl
7	con	ADP	9	case
8	231	NUM	9	nummod
9	delegados	NOUN	3	obl
10	y	CCONJ	13	cc
11	Bush	PROPN	13	nsubj
12	ha	AUX	13	aux
13	conseguido	VERB	3	conj
14	617	NUM	13	obj
15	,	PUNCT	19	punct
16	por	ADP	19	mark
17	lo	PRON	19	det
18	que	PRON	19	obl
19	necesita	VERB	13	advcl
20	aún	ADV	19	advmod
21	317	NUM	19	obj
22	para	ADP	23	mark
23	lograr	VERB	19	advcl
24	1.034	NUM	23	obj
25	,	PUNCT	27	punct
26	el	DET	27	det
27	número	NOUN	24	appos
28	mágico	ADJ	27	amod
29	para	ADP	30	mark
30	tener	VERB	27	acl
31	realmente	ADV	30	advmod
32	en	ADP	34	case
33	sus	DET	34	det
34	manos	NOUN	30	obl
35	la	DET	36	det
36	candidatura	NOUN	30	obj
37	presidencial	ADJ	36	amod
38	republicana	ADJ	36	amod
39	.	PUNCT	3	punct