Problem: Vanya walks late at night along a straight street of length l, lit by n lanterns. Consider the coordinate system with the beginning of the street corresponding to the point 0, and its end corresponding to the point l. Then the i-th lantern is at the point ai. The lantern lights all points of the street that are at the distance of at most d from it, where d is some positive number, common for all lanterns. 

Vanya wonders: what is the minimum light radius d should the lanterns have to light the whole street?

Input

The first line contains two integers n, l (1 ≤ n ≤ 1000, 1 ≤ l ≤ 109) — the number of lanterns and the length of the street respectively. 

The next line contains n integers ai (0 ≤ ai ≤ l). Multiple lanterns can be located at the same point. The lanterns may be located at the ends of the street.

Output

Print the minimum light radius d, needed to light the whole street. The answer will be considered correct if its absolute or relative error doesn't exceed 10 - 9.

Examples

Input

7 15
15 5 3 7 9 14 0


Output

2.5000000000


Input

2 5
2 5


Output

2.0000000000

Note

Consider the second sample. At d = 2 the first lantern will light the segment [0, 4] of the street, and the second lantern will light segment [3, 5]. Thus, the whole street will be lit.

Solution (in PYTHON3):

Solution:
# # №1.1 Буква в слове
# a = input()
# s = list(input().split())
# l = len(s)
# for i in range(l):
#     if a in s[i]:
#         print(s[i])

# # №1.2 Максимальное кол-во букв в слове
# a = input().lower()
# max_c = 0
# for i in a:
#     if a.count(i) >= max_c:
#         max_c = a.count(i)
# print(max_c)

# # №1.3  Удалить каждый третий символ
# a = input()
# l = len(a)
# b = ''
# for i in range(l):
#     if i != 0 and i % 3 != 0:
#         b = b + a[i]
# print(b)

# # №1.4 Полицейские-рекруты
# c = int(input())
# h = list(map(int, input().split()))
# p_count = 0
# out = 0
# for i in h:
#     if i == -1:
#         if p_count == 0:
#             out += 1
#         else:
#             p_count -= 1
#     if 1 <= i <= 10:
#         p_count += i
# print(out)
# https://codeforces.com/problemset/problem/427/A

# # №1.5 A. I_love_%username%
# c = int(input())
# h = list(map(int, input().split()))
# count = 0
# min = h[0]
# max = h[0]
# for i in range(c):
#     if h[i] > max:
#         max = h[i]
#         count += 1
#     elif h[i] < min:
#         min = h[i]
#         count += 1
# print(count)
# https://codeforces.com/problemset/problem/155/A

# # №1.5 A. Следующий раунд
# n, k = map(int, input().split())
# h = list(map(int, input().split()))
# count = 0
# for i in range(n):
#     if h[i] >= h[k-1] and h[i] > 0:
#         count += 1
# print(count)
# https://codeforces.com/problemset/problem/158/A

# # №1.5.1 A. Праздник равенства
# n = int(input())
# h = list(map(int, input().split()))
# max_h = max(h)
# count = 0
# for i in range(n):
#     if h[i] < max_h:
#         r = max_h - h[i]
#         count += r
# print(count)
# https://codeforces.com/problemset/problem/758/A

# # №1.6 Тренировки Егора
# n = int(input())
# a = list(map(int, input().split()))
# count_chest = 0
# count_biceps = 0
# count_back = 0
# for i in range(n):
#     if i % 3 == 0:
#         count_chest += a[i]
#     elif i % 3 == 1:
#         count_biceps += a[i]
#     elif i % 3 == 2:
#         count_back += a[i]
#     else:
#         print('что то не так')
# if count_chest > count_biceps and count_chest > count_back:
#     print('chest')
# elif count_biceps > count_chest and count_biceps > count_back:
#     print('biceps')
# elif count_back > count_chest and count_back > count_biceps:
#     print('back')
# else:
#     print('сбой снова')
# https://codeforces.com/problemset/problem/255/A

# # №1.7 Упражнение на строки
# s = input().lower()
# glas = 'aoyeui'
# for i in glas:
#     s = s.replace(i,'')
# s = '.'.join(s)
# print('.' + s)
# https://codeforces.com/problemset/problem/118/A

# # №1.8 A. Не смешите мои подковы
# a = list(map(int, input().split()))
# count = 0
# while a:
#     c = a[0]
#     b = a.count(c)
#     count += b - 1
#     a.remove(c)
#     while c in a:
#         a.remove(c)
# print(count)
# # https://codeforces.com/problemset/problem/228/A

# # №1.9 B. Напитки
# c = int(input())
# h = list(map(int, input().split()))
# print(sum(h) / c)
# https://codeforces.com/problemset/problem/200/B

# # №1.10 A. Выбор команд
# n, k = map(int, input().split())
# y = list(map(int, input().split()))
# count = 0
# kom = 0
# for i in y:
#     if i <= 5 - k:
#         kom += 1
#     if kom == 3:
#         count += 1
#         kom = 0
# print(count)
# # https://codeforces.com/problemset/problem/432/A


# # №1.11 Decompress Run-Length Encoded List
# nums = list(map(int, input().split()))
# b = []
# len_nums = len(nums)
# eats = 0
# for i in range(1, len_nums, 2):
#     eats = nums[i]
#     for j in range(nums[i-1]):
#         b.append(eats)
# print(b)
# # https://leetcode.com/problems/decompress-run-length-encoded-list/

# # №1.12 A. Быстрый математик
# a = input()
# b = input()
# len_a = len(str(a))
# c = str(int(a) + int(b))
# while len(c) < len_a:
#     c = '0' + c
# # print(c, len(c), len_a)
# len_c = len(c)
# # print(c)
# for i in range(len_c):
#     if c[i] == '2':
#         c = c.replace(c[i], '0')
# # print(len(c), len_c)
# while len(c) < len_a:
#     c = '0' + c
# print(c)
# https://codeforces.com/problemset/problem/61/A

# №1.13 A. Ваня и забор
# n, h = map(int, input().split())
# a = list(map(int, input().split()))
# width = 0
# for i in range(n):
#     if a[i] <= h:
#         width += 1
#     else:
#         width += 2
# print(width)
# https://codeforces.com/problemset/problem/677/A

# №1.14 A. Башни
# N = int(input())
# L = list(map(int, input().split()))
# max_count = 0
# tower = []
# for i in range(N):
#     if L[i] not in tower:
#         tower.append(L[i])
#         if L.count(L[i]) > max_count:
#             max_count = L.count(L[i])
# print(max_count, len(tower))
# https://codeforces.com/problemset/problem/37/A

# №1.15 A. Антон и Даник
# N = int(input())
# s = input()
# if s.count('A') > s.count('D'):
#     print('Anton')
# elif s.count('A') < s.count('D'):
#     print('Danik')
# else:
#     print('Friendship')
# # https://codeforces.com/problemset/problem/734/A

# №1.16 A. Свободная касса
# N = int(input())
# h = []
# m = []
# count = 1
# max_count = 1
# for i in range(N):
#     H, M = map(int, input().split())
#     h.append(H)
#     m.append(M)
#     if i == 0:
#         count = 1
#     elif h[i] == h[i-1] and m[i] == m[i-1]:
#         count += 1
#         if count > max_count:
#             max_count = count
#     elif h[i] != h[i-1] or m[i] != m[i-1]:
#         count = 1
# print(max_count)
# https://codeforces.com/problemset/problem/237/A

# №1.17 A. Слово
# A = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
# B = 'abcdefghijklmnopqrstuvwxyz'
# s = input()
# up_count = 0
# low_count = 0
# for i in s:
#     if i in A:
#         up_count += 1
#     elif i in B:
#         low_count += 1
# if up_count > low_count:
#     print(s.upper())
# else:
#     print(s.lower())
# https://codeforces.com/problemset/problem/59/A

# №1.18 A. IQ тест
# n = int(input())
# s = list(map(int, input().split()))
# for i in range(n):
#     if i != n-1:
#         if s[i] % 2 != s[i - 1] % 2 and s[i] % 2 != s[i + 1] % 2:
#             print(i + 1)
#             break
#     else:
#         print(i + 1)
# https://codeforces.com/problemset/problem/25/A

# №1.19 B. Максимальный непрерывный отдых
# n = int(input())
# a = list(map(int, input().split()))
# count = 0
# max_count = 0
# for i in range(n):
#     if a[i] == 1:
#         count += 1
#         max_count = max(count, max_count)
#     else:
#         count = 0
# if a[n-1] == a[0] == 1:
#     for i in range(n):
#         if a[i] == 1:
#             count += 1
#             max_count = max(count, max_count)
#         else:
#             count = 0
# print(max_count)
# https://codeforces.com/problemset/problem/1141/B

# №1.20 A. Командная олимпиада
# count_stud = int(input())
# students = list(map(int, input().split()))
# programmers = []
# mathematics = []
# sportsmen = []
# for i in range(count_stud):
#     if students[i] == 1:
#         programmers.append(i + 1)
#     elif students[i] == 2:
#         mathematics.append(i + 1)
#     else:
#         sportsmen.append(i + 1)
# full_commands = min(len(programmers), len(mathematics), len(sportsmen))
# print(full_commands)
# for i in range(full_commands):
#     print(programmers[i], mathematics[i], sportsmen[i])
# https://codeforces.com/problemset/problem/490/A

# №1.21 A. Мокрая Акула и чётность
# n = int(input())
# s = list(map(int, input().split()))
# min_nechet = max(s)
# for i in range(n):
#     if s[i] % 2 != 0:
#         min_nechet = min(s[i], min_nechet)
# sum_s = sum(s)
# if sum(s) % 2 != 0:
#     sum_s = sum(s) - min_nechet
# print(sum_s)
# https://codeforces.com/problemset/problem/621/A

# №1.22 A. Панграмма
# n = int(input())
# s = input().lower()
# a = 'abcdefghijklmnopqrstuvwxyz'
# for i in s:
#     if i in a:
#         a = a.replace(i, '')
# if len(a) == 0:
#     print('YES')
# else:
#     print('NO')
# https://codeforces.com/problemset/problem/520/A

# №1.23 A. Клавиатура
# n = input().upper()
# s = input().lower()
# qwerty ='qwertyuiopasdfghjkl;zxcvbnm,./'
# b = ''
# if n == 'R':
#     for i in s:
#         ind = qwerty.find(i)
#         b += qwerty[ind-1]
# elif n == 'L':
#     for i in s:
#         ind = qwerty.find(i)
#         b += qwerty[ind+1]
# print(b)
# https://codeforces.com/problemset/problem/474/A

# №1.24 A. Кодовый замок
# n = int(input())
# a = input()
# b = input()
# count = 0
# for i in range(n):
#     razn = abs(int(a[i])-int(b[i]))
#     if razn <= 5:
#         count += razn
#     else:
#         count += 10-razn
# print(count)
# https://codeforces.com/problemset/problem/540/A

# №1.25 A. Подарки
# n = int(input())
# p = list(map(int, input().split()))
# b = []
# for i in range(n):
#     c = p.index(i+1)
#     d = p.index(c+1)
#     b.append(p[d])
# print(*b)
# https://codeforces.com/problemset/problem/136/A


# №1.26 B. Ваня и фонари
n, l = map(int, input().split())
a = list(map(int, input().split()))
a.sort()
max_razn = 0
for i in range(n):
    if i == 0:
        razn = a[i] - 0
        max_razn = max(razn, max_razn)
        if i == n-1:
            razn = l - a[i]
            max_razn = max(razn, max_razn)
    elif i <= n-1:
        razn = (a[i] - a[i - 1]) / 2
        max_razn = max(razn, max_razn)
        if i == n-1:
            razn = l - a[i]
            max_razn = max(razn, max_razn)
print(max_razn)
# https://codeforces.com/problemset/problem/492/B