Write a program that detects duplicate entries in a list.
Implement find_duplicates(items) to return each duplicated value once, in the order its second occurrence is encountered. Return an empty list when no value appears more than once. The input contains integers, and the returned list must preserve detection order.
def find_duplicates(items):