Problem1379--C二级辅导-求同存异

1379: C二级辅导-求同存异

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 217  Solved: 148
[Submit] [Status] [Web Board] [Creator:]

Description

输入两个数组(数组元素个数6和8),输出在两个数组中都出现的元素(如a[6]={2,3,4,5,6,7},b[8]={3,5,7,9,11,13,15,19},则输出357)。

Sample Input Copy

2 3 4 5 6 7
3 5 7 9 11 13 15 19

Sample Output Copy

3
5
7

Source/Category