Polycarp invited all his friends to the tea party to celebrate the holiday. He has n cups, one for each of his n friends, with volumes a1, a2, ..., an. His teapot stores w milliliters of tea (w ≤ a1 + a2 + ... + an). Polycarp wants to pour tea in cups in such a way that:

  * Every cup will contain tea for at least half of its volume 
  * Every cup will contain integer number of milliliters of tea 
  * All the tea from the teapot will be poured into cups 
  * All friends will be satisfied. 



Friend with cup i won't be satisfied, if there exists such cup j that cup i contains less tea than cup j but ai > aj.

For each cup output how many milliliters of tea should be poured in it. If it's impossible to pour all the tea and satisfy all conditions then output -1.

Input

The first line contains two integer numbers n and w (1 ≤ n ≤ 100, <image>).

The second line contains n numbers a1, a2, ..., an (1 ≤ ai ≤ 100).

Output

Output how many milliliters of tea every cup should contain. If there are multiple answers, print any of them.

If it's impossible to pour all the tea and satisfy all conditions then output -1.

Examples

Input

2 10
8 7


Output

6 4 


Input

4 4
1 1 1 1


Output

1 1 1 1 


Input

3 10
9 8 10


Output

-1

Note

In the third example you should pour to the first cup at least 5 milliliters, to the second one at least 4, to the third one at least 5. It sums up to 14, which is greater than 10 milliliters available.
import java.text.DecimalFormat;
import java.util.*;
import java.io.*;
import java.math.*;

public class Main {
	public static long mod = (long) (1e9 + 7);
	static InputReader s;
	static PrintWriter out;
	static Pair p[];
	static int a[];
	static int n;
	public static void main(String args[]) {
		new Thread(null, new Runnable() {
			public void run() {
				try {
					solve();
					out.flush();
					out.close();
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		}, "1", 1 << 26).start();
	}

	public static void solve() throws IOException {
		s = new InputReader(System.in);
		OutputStream outputStream = System.out;
		out = new PrintWriter(outputStream);
		Scanner sc = new Scanner(System.in);
		n= s.nextInt();
		int w = s.nextInt();
		a= new int[n];
		p= new Pair[n];
		int sum=0;
		for(int i=0;i<n;i++){
			int x= s.nextInt();
			p[i]= new Pair(x,i);
			a[i]=x;
			sum+=x;
		}
		Arrays.sort(p);
		Arrays.sort(a);
		int diff= sum - w;
		if(diff<0){
			System.out.println(-1);
			return;
		}
		for(int i=0;i<n && diff>0;i++){
			int allow = (int) Math.ceil(a[i]/2.0);
			if((p[i].a- allow) > 0){
			int sub = Math.min(p[i].a - allow, diff);
				p[i].a -= sub;
				diff -= sub;
			}
		}
//		debug(p);
//		if(!check()){
//			System.out.println(-1);
//			return;
//		}
		
		if(diff>0){
			System.out.println(-1);
			return;
		}
		int ans[]= new int[n];
		for(int i=0;i<n;i++){
			ans[p[i].b] = p[i].a;
		}
		for(int i=0;i<n;i++){
			out.print(ans[i]+" ");
		}
	}
	
	static boolean check(){
		for(int i=0;i<n;i++){
			if(p[i].a<Math.ceil(a[i]/2.0)){
				return false;
			}
		}
		return true;
	}
	static long combinations(long n, long r) { // O(r)
		if (r == 0 || r == n)
			return 1;
		r = Math.min(r, n - r);
		long ans = n; // nC1=n;
		for (int i = 1; i < r; i++) {
			ans = (ans * (n - i));
			 ans= ans/(i+1);
//			ans = (ans * modulo(i + 1, mod - 2, mod)) % mod;
		}
		return ans;
	}

	static long modulo(long x, long y, long p) {
		long res = 1;
		x = x % p;

		while (y > 0) {
			if (y % 2 == 1)
				res = (res * x) % p;

			y = y >> 1;
			x = (x * x) % p;
		}
		return res;
	}

	static HashSet<Integer> primeFactors(int n) // O(sqrt(n))
	{
		// Print the number of 2s that divide n
		HashSet<Integer> arr = new HashSet<>();
		while (n % 2 == 0) {
			arr.add(2);
			n = n / 2;
		}

		// n must be odd at this point. So we can skip one element (Note i = i
		// +2)
		for (int i = 3; i <= Math.sqrt(n); i = i + 2) {
			// While i divides n, print i and divide n
			while (n % i == 0) {
				arr.add(i);
				n = n / i;
			}
		}
		// This condition is to handle the case when n is a prime number
		// greater than 2
		if (n > 2)
			arr.add(n);

		return arr;
	}

	public static long expo(long a, long b) {
		if (b == 0)
			return 1;
		if (b == 1)
			return a;
		if (b == 2)
			return a * a;

		if (b % 2 == 0) {
			return expo(expo(a, (b / 2)), 2);
		} else {
			return a * expo(expo(a, (b - 1) / 2), 2);
		}
	}

	static class Pair implements Comparable<Pair> {
		int a;
		int b;
		
		Pair(int aa, int bb) {
			a = aa;
			b = bb;
		}

		public int compareTo(Pair o) {
			int ans = Integer.compare(this.a, o.a);
			return ans;
			// return ans==0 ? -Integer.compare(this.b, o.b):ans;
			// if(Long.compare(this.x, o.x)!=0)
			// return -Long.compare(this.x, o.x);
			// else
			// return Long.compare(this.y, o.y);
			// return Integer.compare(this.x, o.x);
			// return Long.compare(this.x, o.x);
		}

//		public int hashCode() {
//			int hu = (int) (a ^ (a >>> 32));
//			int hv = (int) (b ^ (b >>> 32));
//			return 31 * hu + hv;
//		}

		//
		public boolean equals(Object o) {
			Pair other = (Pair) o;
			return a == other.a && b == other.b;
		}

		public String toString() {
			return "[x=" + a + ", y=" + b + "]";
		}

	}

	public static int[] sieve(int N) { // O(n*log(logn))
		int arr[] = new int[N + 1];
		for (int i = 2; i <= Math.sqrt(N); i++) {
			if (arr[i] == 0) {
				for (int j = i * i; j <= N; j = j + i) {
					arr[j] = 1;
				}
			}
		}
		return arr;
		// All the i for which arr[i]==0 are prime numbers.
	}

	static int gcd(int a, int b) { // O(logn)
		if (b == 0)
			return a;
		return gcd(b, a % b);
	}

	public static void debug(Object... o) {
		System.out.println(Arrays.deepToString(o));
	}

	static void catalan_numbers(int n) {
		long catalan[] = new long[n + 1];
		catalan[1] = 1;
		for (int i = 2; i <= n; i++) {
			for (int j = 1; j <= i - 1; j++) {
				catalan[i] = catalan[i] + ((catalan[j]) * catalan[i - j]);
			}
		}
	}

	static final class InputReader {
		private final InputStream stream;
		private final byte[] buf = new byte[1024];
		private int curChar;
		private int Chars;

		public InputReader(InputStream stream) {
			this.stream = stream;
		}

		private int read() throws IOException {
			if (curChar >= Chars) {
				curChar = 0;
				Chars = stream.read(buf);
				if (Chars <= 0)
					return -1;
			}
			return buf[curChar++];
		}

		public final int nextInt() throws IOException {
			return (int) nextLong();
		}

		public final long nextLong() throws IOException {
			int c = read();
			while (isSpaceChar(c)) {
				c = read();
				if (c == -1)
					throw new IOException();
			}
			boolean negative = false;
			if (c == '-') {
				negative = true;
				c = read();
			}
			long res = 0;
			do {
				if (c < '0' || c > '9')
					throw new InputMismatchException();
				res *= 10;
				res += (c - '0');
				c = read();
			} while (!isSpaceChar(c));
			return negative ? (-res) : (res);
		}

		public final int[] nextIntBrray(int size) throws IOException {
			int[] arr = new int[size];
			for (int i = 0; i < size; i++)
				arr[i] = nextInt();
			return arr;
		}

		public final String next() throws IOException {
			int c = read();
			while (isSpaceChar(c))
				c = read();
			StringBuilder res = new StringBuilder();
			do {
				res.append((char) c);
				c = read();
			} while (!isSpaceChar(c));
			return res.toString();
		}

		public final String nextLine() throws IOException {
			int c = read();
			while (isSpaceChar(c))
				c = read();
			StringBuilder res = new StringBuilder();
			do {
				res.append((char) c);
				c = read();
			} while (c != '\n' && c != -1);
			return res.toString();
		}

		private boolean isSpaceChar(int c) {
			return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
		}
	}
}