In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[2787, 'N', 'I', 'M', 'x', '3825', 'r', '1041', 'y', 'a', 'v', 6057], ['F', 6523, 'x', '3825', 'r', '1041', 's', 'C', 3001, 8425]
x, 3825, r, 1041

[2765, 'r', 'p', 'k', 'G', '6021', '1013', 's', 'f', '6081', '4495', '2193', 'p', 'E', 2613, 9463, 55, 'w'], [1351, 'U', 'i', 5485, 'G', '6021', '1013', 's', 'f', '6081', '4495', '2193', 'A', 'n', 'Q', 'z', 'U', 'E']
G, 6021, 1013, s, f, 6081, 4495, 2193

['P', 6705, 5017, 'Z', 3017, 'x', 'S', 7025, 4705, 95, 3071, 5421, 'E', 7125, 'N', 'V', '9731', '6707', '7233', '8599', '8371', '5639', 'U', 'F', '6045', 'T', '7479', '4101', '1061', '5049', '4003', 'O', '7815', 'V', '477', 'I', 7229, 'u', 'z', 3669, 'd', 'j', 'x', 'O', 'm', 4025, 7057, 9049, 4207, 'l', 'k'], [6447, 993, 'D', 2435, 1169, 'L', 7929, 2763, 'Y', 6515, 5075, 2575, 8653, 4377, 2903, 2025, 't', 'j', 'H', '9731', '6707', '7233', '8599', '8371', '5639', 'U', 'F', '6045', 'T', '7479', '4101', '1061', '5049', '4003', 'O', '7815', 'V', '477', 'r', 8103, 'a', 'G', 'E', 3309]

9731, 6707, 7233, 8599, 8371, 5639, U, F, 6045, T, 7479, 4101, 1061, 5049, 4003, O, 7815, V, 477