Problem: Pasha decided to invite his friends to a tea party. For that occasion, he has a large teapot with the capacity of w milliliters and 2n tea cups, each cup is for one of Pasha's friends. The i-th cup can hold at most ai milliliters of water.

It turned out that among Pasha's friends there are exactly n boys and exactly n girls and all of them are going to come to the tea party. To please everyone, Pasha decided to pour the water for the tea as follows:

  * Pasha can boil the teapot exactly once by pouring there at most w milliliters of water; 
  * Pasha pours the same amount of water to each girl; 
  * Pasha pours the same amount of water to each boy; 
  * if each girl gets x milliliters of water, then each boy gets 2x milliliters of water. 



In the other words, each boy should get two times more water than each girl does.

Pasha is very kind and polite, so he wants to maximize the total amount of the water that he pours to his friends. Your task is to help him and determine the optimum distribution of cups between Pasha's friends.

Input

The first line of the input contains two integers, n and w (1 ≤ n ≤ 105, 1 ≤ w ≤ 109) — the number of Pasha's friends that are boys (equal to the number of Pasha's friends that are girls) and the capacity of Pasha's teapot in milliliters.

The second line of the input contains the sequence of integers ai (1 ≤ ai ≤ 109, 1 ≤ i ≤ 2n) — the capacities of Pasha's tea cups in milliliters.

Output

Print a single real number — the maximum total amount of water in milliliters that Pasha can pour to his friends without violating the given conditions. Your answer will be considered correct if its absolute or relative error doesn't exceed 10 - 6.

Examples

Input

2 4
1 1 1 1


Output

3

Input

3 18
4 4 4 2 2 2


Output

18

Input

1 5
2 3


Output

4.5

Note

Pasha also has candies that he is going to give to girls but that is another task...

Solution (in JAVA):

Solution:
import java.io.*;
import java.util.*;

/**
 * Created by Arthur on 3/14/2015.
 */
public class Main {

    public static void main(String[] args) {
        new Main(args.length != 0);
    }

    private final boolean debug;

    private String formatTime(long l) {
        long minutes = l / 60000;
        l %= 60000;
        long seconds = l / 1000;
        long ms = l % 1000;
        String res = "";
        if (minutes != 0)
            res += " " + minutes + "m";
        if (seconds != 0)
            res += " " + seconds + "s";
        if (ms != 0)
            res += " " + ms + "ms";
        return res;
    }


    Main(boolean args) {
        debug = args;
        initIO(debug);
        long startTime = 0;
        if (debug)
            startTime = System.currentTimeMillis();
        solve();
        close();
        if (debug)
            System.err.println("Program work time:" + formatTime(System.currentTimeMillis() - startTime));
    }

    FastScanner sc;
    PrintWriter pw;

    private void initIO(boolean files) {
        if (files) {
            sc = new FastScanner("input.txt");
            try {
                pw = new PrintWriter(new FileOutputStream("output.txt"), false);
            } catch (Exception e) {
                e.printStackTrace();
            }
        } else {
            sc = new FastScanner(System.in);
            pw = new PrintWriter(System.out);
        }
    }

    private void close() {
        sc.close();
        pw.close();
    }

    static final int N = 100010;

    int a[];

    private void solve() {
        int n = sc.nextInt();
        int w = sc.nextInt();
        a = new int[2*n];
        for (int i = 0; i < 2*n; i++) {
            a[i] = sc.nextInt();
        }
        Arrays.sort(a, 0, 2*n);
        double r1 = a[0];
        double r2 = (1.0 * a[n]) / 2.0;
        r1 = Math.min(r2, r1);
        pw.printf("%.6f", Math.min(r1 * 3 * n, w));
    }
}

class FastScanner {

    BufferedReader br;
    StringTokenizer st;

    FastScanner(String file) {
        try {
            br = new BufferedReader(new FileReader(file));
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }
        st = new StringTokenizer("");
    }

    FastScanner(InputStream is) {
        br = new BufferedReader(new InputStreamReader(is));
        st = new StringTokenizer("");
    }

    String next() {
        try {
            while (!st.hasMoreElements()) {
                st = new StringTokenizer(br.readLine());
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
        return st.nextToken();
    }

    int nextInt() {
        return Integer.parseInt(next());
    }

    long nextLong() {
        return Long.parseLong(next());
    }

    double nextDouble() {
        return Double.parseDouble(next());
    }

    public void close() {
        try {
            br.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}

class Vi {
    private int capacity = 2;
    private int d[] = new int[capacity];
    private int size = 0;

    public Vi() {
    }

    public Vi(int n) {
        super();
        setSize(n);
    }

    void pb(int x) {
        if (size == capacity) grow();
        d[size++] = x;
    }

    int rm() {
        if (size == 0) throw new IndexOutOfBoundsException();
        return d[--size];
    }

    int a(int x) {
        if (x >= size) throw new IndexOutOfBoundsException();
        return d[x];
    }

    private void grow() {
        capacity = size + (size >> 1);
        d = Arrays.copyOf(d, capacity);
    }

    private void grow(int newSize) {
        capacity = newSize;
        d = Arrays.copyOf(d, capacity);
    }

    void setSize(int newSize) {
        if (newSize > capacity) {
            grow(newSize);
        }
        size = newSize;
    }

    int size() {
        return size;
    }

    void readIn(FastScanner sc, int n) {
        int lastSize = size;
        setSize(size + n);
        for (int i = 0; i < n; i++) {
            d[lastSize + i] = sc.nextInt();
        }
    }

    void print(PrintWriter pw) {
        for (int i = 0; i < size; i++) {
            pw.print(d[i] + " ");
        }
        pw.println();
    }

    void sort(int l, int r) {
        Arrays.sort(d, l, r);
    }

    void sort() {
        sort(0, size);
    }
}

class Algo{

    public static long binpow(long x, long st) {
        long res = 1;
        while (st > 0) {
            if ((st & 1) > 0) res *= x;
            x *= x;
            st >>= 1;
        }
        return res;
    }

    public static long binpow(long x, long st, long mod) {
        long res = 1 % mod;
        x %= mod;
        while (st > 0) {
            if ((st & 1) > 0) res = (res * x) % mod;
            x = (x * x) % mod;
            st >>= 1;
        }
        return res;
    }
}