using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using System.Text.RegularExpressions;


public class BridgeBuildingDiv2
{
	public static void Main(string[] args)
	{
		BridgeBuildingDiv2 o = new BridgeBuildingDiv2();
		int[] a = new int[]{2,1,1,1,2};
		int[] b = new int[]{1,9,1,9,1};
		int k = 4;
		int ans = o.minDiameter(a, b, k);
		Console.Write(ans);
		Console.Read();
	}

	public int minDiameter(int[] a, int[] b, int K)
	{
		return 0;
	}
}
