def page_replaced(l,k,pages): cache = [] missed_count = 0 for page in pages: if page not in cache: missed_count += 1 if l == len(cache): cache.pop(0) cache.append(page) return missed_count l,k = map(int,input().strip().split(" ")) pages = list(map(int,input().strip().split(" ")))...