In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 'x', '263', '9685', 'o', '6515', '7137', '7901', '6473', 'N', 3411, 6671, 'Y', 8175], ['r', 1539, '263', '9685', 'o', '6515', '7137', '7901', '6473', 'g', 5471, 5963, 8683, 'o']