Analysis of a unilateral contact problem taking into account adhesion and friction