In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6415, 'I', 5683, 1821, 5363, 9303, 'd', '1637', 'm', '3061', '5441', '8271', '1541', '6285', 'Y', 'x', 397, 811, 2329], [9531, 'M', 3069, 't', 'X', 'w', 'd', '1637', 'm', '3061', '5441', '8271', '1541', '6285', 'Y', 'G', 9509, 'i', 's', 9467, 4327, 'J']