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

[3507, 'R', 'l', 'D', 2607, 'G', '357', 'B', 'R', 'T', 'q', 'Y', 's', '5489', 'W', '5615', '4489', '9265', 'Q', 'J', '5573', 'n', 'S', '4969', 'c', '9701', '1237', 'l', 'R', 'A', 'k', 'K', 5717, 3433, 'V', 'Y', 3337, 'z', 'K'], [2841, 'O', 9377, 7197, 'I', 3437, 'n', 8525, 4185, 'v', 'k', 8077, 'G', 8683, 'E', 'U', 'S', 'X', 5559, 'u', 4099, 'g', 'L', 'o', 'G', '357', 'B', 'R', 'T', 'q', 'Y', 's', '5489', 'W', '5615', '4489', '9265', 'Q', 'J', '5573', 'n', 'S', '4969', 'c', '9701', '1237', 'l', 'R', 'Q', 5665, 4347, 5647, 8447, 3181, 3453, 8803, 4819, 3535, 6123, 7479, 'Z', 'J']
G, 357, B, R, T, q, Y, s, 5489, W, 5615, 4489, 9265, Q, J, 5573, n, S, 4969, c, 9701, 1237, l, R