Problem: While Grisha was celebrating New Year with Ded Moroz, Misha gifted Sasha a small rectangular pond of size n × m, divided into cells of size 1 × 1, inhabited by tiny evil fishes (no more than one fish per cell, otherwise they'll strife!).

The gift bundle also includes a square scoop of size r × r, designed for fishing. If the lower-left corner of the scoop-net is located at cell (x, y), all fishes inside the square (x, y)...(x + r - 1, y + r - 1) get caught. Note that the scoop-net should lie completely inside the pond when used.

Unfortunately, Sasha is not that skilled in fishing and hence throws the scoop randomly. In order to not frustrate Sasha, Misha decided to release k fishes into the empty pond in such a way that the expected value of the number of caught fishes is as high as possible. Help Misha! In other words, put k fishes in the pond into distinct cells in such a way that when the scoop-net is placed into a random position among (n - r + 1)·(m - r + 1) possible positions, the average number of caught fishes is as high as possible.

Input

The only line contains four integers n, m, r, k (1 ≤ n, m ≤ 105, 1 ≤ r ≤ min(n, m), 1 ≤ k ≤ min(n·m, 105)).

Output

Print a single number — the maximum possible expected number of caught fishes.

You answer is considered correct, is its absolute or relative error does not exceed 10 - 9. Namely, let your answer be a, and the jury's answer be b. Your answer is considered correct, if <image>.

Examples

Input

3 3 2 3


Output

2.0000000000


Input

12 17 9 40


Output

32.8333333333

Note

In the first example you can put the fishes in cells (2, 1), (2, 2), (2, 3). In this case, for any of four possible positions of the scoop-net (highlighted with light green), the number of fishes inside is equal to two, and so is the expected value.

<image>

Solution (in JAVA):

Solution:
import java.util.*;
import java.io.*;
public class Test{
	InputStream is;
	PrintWriter out;

	String INPUT = "";
	static long n,m,r,k;
	PriorityQueue<Pair> pq ;
	void solve()
	{
		//out.println(new Pair(2,3).equals(new Pair(2,3)));
		n = nl();
		m = nl();
		r = nl();
		k = nl();
		pq = new PriorityQueue<>();
		
		if(n==1 &&m==1)
		{
			out.printf("%.12f",1.0);
			return;
		}
		for(long i=1 ; i<=n ; i++)
		{
			long j = m/2;
			add(i,j,0L);
		}		

		long ans = 0;
		for(long i = 0 ; i<k ; i++)
		{
			Pair p = pq.remove();
			ans += p.val;
			if(p.d==1 && p.y<m)
				pq.add(new Pair(p.x,p.y+1,1));
			else if(p.d==0 && p.y>1)
				pq.add(new Pair(p.x,p.y-1,0));


		}
		out.printf("%.12f",(double)ans/(double)((n-r+1)*1L*(m-r+1)));
		//tr(a);

	}
	public void add(long x,long y,long d)
	{
		pq.add(new Pair(x,y,d));
		pq.add(new Pair(x,y+1,d+1));
	}
	public static class Pair implements Comparable<Pair>
	{
		long x,y,d;
		long val;
		public Pair(long x,long y, long d){
			this.x = x;
			this.y = y;
			this.d = d;
			this.val = (Math.min(n+1,x+r)-Math.max(x,r))*1L*(Math.min(m+1,y+r)-Math.max(y,r));

		}
		public int compareTo(Pair o)
		{
			if(this.val>o.val)
				return -1;
			return 1;
		}
		@Override
		public String toString()
		{
			return x+" "+y+" "+d+" "+val;
		}
	}
	
	///////////////////////////////////////
	void run() throws Exception{
		// Random r = new Random();
		// StringBuilder sb = new StringBuilder();
		// sb.append("")
		//is = oj ? System.in: new ByteArrayInputStream(INPUT.getBytes());
		is = System.in;
		out = new PrintWriter(System.out);
		solve();
		out.flush();
	}
	public static void main(String[] args)throws Exception {
		new Test().run();
	}

	private byte[] inbuf = new byte[1024];
	public int lenbuf = 0, ptrbuf = 0;
	
	private int readByte()
	{
		if(lenbuf == -1)throw new InputMismatchException();
		if(ptrbuf >= lenbuf){
			ptrbuf = 0;
			try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }
			if(lenbuf <= 0)return -1;
		}
		return inbuf[ptrbuf++];
	}
	
	private boolean isSpaceChar(int c) { return !(c >= 33 && c <= 126); }
	private int skip() { int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }
	
	private double nd() { return Double.parseDouble(ns()); }
	private char nc() { return (char)skip(); }
	
	private String ns()
	{
		int b = skip();
		StringBuilder sb = new StringBuilder();
		while(!(isSpaceChar(b))){ // when nextLine, (isSpaceChar(b) && b != ' ')
			sb.appendCodePoint(b);
			b = readByte();
		}
		return sb.toString();
	}
	private int ni()
	{
		int num = 0, b;
		boolean minus = false;
		while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));
		if(b == '-'){
			minus = true;
			b = readByte();
		}
		
		while(true){
			if(b >= '0' && b <= '9'){
				num = num * 10 + (b - '0');
			}else{
				return minus ? -num : num;
			}
			b = readByte();
		}
	}
	private int[] na(int n)
	{
		int[] a = new int[n];
		for(int i = 0;i < n;i++)a[i] = ni();
		return a;
	}
	private long nl()
	{
		long num = 0;
		int b;
		boolean minus = false;
		while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));
		if(b == '-'){
			minus = true;
			b = readByte();
		}
		
		while(true){
			if(b >= '0' && b <= '9'){
				num = num * 10 + (b - '0');
			}else{
				return minus ? -num : num;
			}
			b = readByte();
		}
	}
	
	//private boolean oj = System.getProperty("ONLINE_JUDGE") != null;
	//private void tr(Object... o) { if(!oj)System.out.println(Arrays.deepToString(o)); }
}