In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['t', 'm', 'j', 'y', 6029, 'I', '4287', '8627', 'q', 'v', '5963', 't', '1857', 'n', 'm', '6257', '1185', 'p', 'O', 'R', 'T', 'R', 'F', '6521', 's', '3729', 'C', 't', 'Y', 'c', 'g', 'N', 7829], [9823, 5703, 'V', 9219, '4287', '8627', 'q', 'v', '5963', 't', '1857', 'n', 'm', '6257', '1185', 'p', 'O', 'R', 'T', 'R', 'F', '6521', 's', '3729', 'C', 't', 'w', 1743, 1143, 8425, 8523, 8899, 'N', 2197, 'K', 2823, 1909, 7185, 3583]