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.


-----Examples-----
Input
1 1

Output
Valera

Input
7 6

Output
Vladik



-----Note-----

Illustration for first test case:

[Image]

Illustration for second test case:

[Image]

Difficulty: interview

Starter code:

Solutions:
a, b = map(int,input().split())
i = 1
while 1:
    if a < i:
        print("Vladik")
        break
    a-= i
    i+= 1
    if b < i:
        print("Valera")
        break
    b-= i
    i+= 1

s = input().split()
a = int(s[0])
b = int(s[1])

i = 1
while i:
    if i % 2 > 0:
        if a < i:
            print("Vladik")
            break
        else:
            a -= i
    else:
        if b < i:
            print("Valera")
            break
        else:
            b -= i
    i += 1


#!/usr/bin/env python3

def main():
    a, b = list(map(int, input().split()))
    cur = 1
    while True:
        if a < cur:
            print("Vladik")
            break
        a -= cur
        if b < cur + 1:
            print("Valera")
            break
        b -= cur + 1
        cur += 2

try:
    while True:
        main()
except EOFError:
    pass


a,b = list(map(int,input().split()))
cur = 1
while a >= 0 and b >= 0:
    if a < cur:
        print("Vladik")
        break
    a -= cur
    cur += 1
    if b < cur:
        print("Valera")
        break
    b -= cur
    cur += 1
    


a, b = list(map(int, input().split()))

i = 1
cur = 0
while (1 - cur)*a + cur*b >= i:
	if cur == 0:
		a -= i
	else:
		b -= i
	i += 1
	cur = 1 - cur

if cur == 0:
	print('Vladik')
else:
	print('Valera')

a, b = list(map(int, input().split()))
cnt = 0
while True:
    cnt += 1
    a -= cnt
    if a < 0:
        print('Vladik')
        break
    cnt += 1
    b -= cnt
    if b < 0:
        print('Valera')
        break


a,b = map(int,input().split())
flag = True
for i in range(1,1000000):
	if(flag==True):
		flag = False
		if(a<i):
			print('Vladik')
			return
		a-=i
	else:
		flag = True
		if(b<i):
			print('Valera')
			return
		b-=i

import sys

def solve():
    a, b = map(int, input().split())

    for i in range(10**9):
        if 2*i + 1 > a:
            print('Vladik')
            return
        else:
            a -= 2*i + 1

        if 2*i + 2 > b:
            print('Valera')
            return
        else:
            b -= 2*i + 2

def __starting_point():
    solve()
__starting_point()

def main():
    a,b = list(map(int, input().split()))

    dif = 1
    while True:
        if dif%2 == 1:
            if a >= dif:
                a -= dif
            else:
                print("Vladik")
                return
        else:
            if b >= dif:
                b -= dif
            else:
                print("Valera")
                return
        dif += 1


def __starting_point():
    # nonlocal stime
    # stime = time.clock()
    main()


__starting_point()

a, b = map(int, input().split())
for i in range(1, 10000000000000000, 2):
    if a < i:
        print("Vladik")
        break
    else:
        a -= i
    if b < i+1:
        print("Valera")
        break
    else:
        b -= i+1

a, b = map(int, input().split())
i = 1
while a >= 0 and b >= 0:
    if i % 2 == 1:
        a -= i
    else:
        b -= i
    i += 1
if a < 0:
    print('Vladik')
else:
    print('Valera')

from math import sqrt, floor

a, b = list(map(int, input().split()))

q = floor(sqrt(a))
w = floor((sqrt(4*b+1) - 1) / 2)

print('Vladik' if q <= w else 'Valera')


import sys
import math

a, b = list(map(int, input().split()))
for i in range(10000000):
    if( i % 2 == 0):
        a -= (i+1)
        if a < 0:
            print("Vladik")
            break;
        
    else:
        b -= (i+1)
        if b < 0:
            print("Valera")
            break


a, b = list(map(int, input().split()))

i = 1
while(i**2 <= a):
    i = i+1
j = 1
while( j*(j+1) <= b):
    j+=1

if i<=j:
    print("Vladik")
else:
    print("Valera")


#!/usr/bin/env python3
from sys import stdin, stdout

def rint():
    return list(map(int, stdin.readline().split()))
#lines = stdin.readlines()

a, b = rint()

for i in range(1, 10**9):
    if i%2:
        a -= i
    else:
        b -= i

    if a < 0:
        print("Vladik")
        return
    if b < 0:
        print("Valera")
        return


a,b = map(int, input().split())
s = 1
nt = 0
while 1:
    if nt == 0:
        if a < s:
            print('Vladik')
            break
        a -= s
    elif nt == 1:
        if b < s:
            print('Valera')
            break
        b -= s
    s += 1
    nt = (nt + 1)%2

a, b = list(map(int, input().split()))

s = 0
cnt = 1
while True:
    if s % 2 == 0:
        if a < cnt:
            break
        a -= cnt
    else:
        if b < cnt:
            break
        b -= cnt
    cnt += 1
    s = 1 - s

print(["Vladik", "Valera"][s])


import sys
read=lambda:sys.stdin.readline().rstrip()
readi=lambda:int(sys.stdin.readline())
writeln=lambda x:sys.stdout.write(str(x)+"\n")
write=lambda x:sys.stdout.write(x)
a,b=map(int, read().split())
toggle = True
c = 1
while True:
    if toggle:
        a -= c
    else:
        b -= c
    if a < 0:
        writeln("Vladik")
        break
    if b < 0:
        writeln("Valera")
        break
    c += 1
    toggle = not toggle

a, b = map(int, input().strip().split())

x = 1
while (a >= 0 and b >= 0):
    a -= x
    x += 1
    b -= x
    x += 1

if (a < 0):
    print('Vladik')
else:
    print('Valera')

a, b = list(map(int, input().split()))

turn = True
now = 1
while True:
    if turn:
        if a < now:
            print("Vladik")
            return
        else:
            a -= now
    else:
        if b < now:
            print("Valera")
            return
        else:
            b -= now
    now += 1
    turn = not turn


import sys
l = list(map(int, sys.stdin.readline().rstrip().split()))
cur = 1
t = 0
while True:
    if l[t] < cur:
        if t:
            sys.stdout.write('Valera')
            break
        else:
            sys.stdout.write('Vladik')
            break
    else:
        l[t] -= cur
        cur += 1
        if t:
            t = 0
        else:
            t += 1

a, b = list(map(int, input().split()))
curr = 1
while True:
    if curr % 2 == 1:
        a -= curr
    if curr % 2 == 0:
        b -= curr
    curr += 1
    if a < 0:
        print("Vladik")
        return
    if b < 0:
        print("Valera")
        return


# coding: utf-8

import math


vs = ["Vladik", "Valera"]
a, b = list(map(int, input().split(" ")))

an = math.floor(math.sqrt(a))
bn = 0
while True:
    bn += 1
    if b < bn * (bn + 1):
        bn -= 1
        break

print(vs[an > bn])