Codeforces Round 416 (Div. 2)
A
Vladik and Courtesy
Codeforces
800
原题
←B →
翻译中…

At regular competition Vladik and Valera won $*a*$ and $*b*$ candies respectively. Vladik offered $1$ his candy to Valera. After that Valera gave Vladik $2$ his candies, so that no one thought that he was less generous. Vladik for same reason gave $3$ candies to Valera in next turn.

翻译中…

More formally, the guys take turns giving each other one candy more than they received in the previous turn.

翻译中…

This continued until the moment when one of them couldn’t give the right amount of candy. Candies, which guys got from each other, they don’t consider as their own. You need to know, who is the first who can’t give the right amount of candy.

翻译中…

Input

翻译中…

Single line of input data contains two space-separated integers $*a*$, $*b*$ ($1 ≤ *a*, *b* ≤ 10^{9}$) — number of Vladik and Valera candies respectively.

翻译中…

Output

翻译中…

Pring a single line "Vladik’’ in case, if Vladik first who can’t give right amount of candy, or "Valera’’ otherwise.

翻译中…

Note

翻译中…

Illustration for first test case:

翻译中…

image

翻译中…

Illustration for second test case:

翻译中…

image

翻译中…

样例

Input #1
1 1
Output #1
Valera
InputCopy OutputCopy
Input #2
7 6
Output #2
Vladik
InputCopy OutputCopy
题目信息
题号
811A
时间限制
2 s
内存限制
256 MB
标签
暴力
模拟

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。