In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1241, 1299, 7087, 925, 7711, 'r', '1065', '4473', 'r', 'A', '2507', '945', 'w', 'S', 'q', 8335, 'D', 'f'], [4099, 'C', 'D', 'u', 9161, '1065', '4473', 'r', 'A', '2507', '945', 'w', 'V', 9147, 'y', 'T', 'k', 'H', 559]