Italy set up San Marino tie