In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['T', 'O', 7287, 'T', 'n', 't', 8495, 'K', 'X', '6733', '9037', 'r', 'T', 'S', '8939', 'e', '9167', 'A', 'o', 'A', 'S', 't', 'U', 'R', '1211', '7503', 'r', 8193, 'X', 'A', 'X'], [9883, 4695, 'O', 'S', 8397, 2773, 4407, 'T', 'A', 7885, 'X', '6733', '9037', 'r', 'T', 'S', '8939', 'e', '9167', 'A', 'o', 'A', 'S', 't', 'U', 'R', '1211', '7503', 'c', 'p', 9407, 7683, 1, 'q']