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

[8227, 6571, 'f', 7259, 7071, 'i', 1853, 'x', '6241', 'i', 'G', '6649', 'P', '2519', '59', '7681', 'k', '3431', 'g', '205', '9823', '4129', 'x', 't', 'g'], ['Z', 717, 'h', 5257, 'Y', 3447, 'x', '6241', 'i', 'G', '6649', 'P', '2519', '59', '7681', 'k', '3431', 'g', '205', '9823', '4129', 'x', 'M', 1943, 'W', 'M', 'e', 9259, 'w', 'd', 1523, 5701, 'K']
x, 6241, i, G, 6649, P, 2519, 59, 7681, k, 3431, g, 205, 9823, 4129, x