using System;
using System.Linq;
using System.Collections.Generic;
public class Program
{
public static void Main()
int[] arr1 = { 1, 2, 4, 3, 3 };
int[] arr2 = { 1, 3, 4, 3 };
var result = arr1.Intersect(arr2);
Console.WriteLine(string.Join("\n", result));
}