import sys ''' 入出力ライブラリ ''' _allinput = [] for inp in sys.stdin: _allinput += inp.strip().split(" ") def _input(): for put in _allinput: yield put _obj = _input(); def __input(): return _obj.__next__() def nextInt(): return int(__input()) n = nextInt() lst = [nextInt() for i in range(0,n)] K = nextInt() l,r = 0, 1000000000 for _ in range(60): m = (l+r)/2 if sum([int(i/m) for i in lst]) < K: r = m else: l = m print(l)