Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [2221, 8015, 'q', 'f', 267, 'A', 'I', 7303, 4213, 8891, 511, 'Z', 4347, 'l', '4621', '507', '5189', 'q', 'k', '2185', '7731', 'm', '661', '4053', '4621', '8393', '5271', 'A', 'T', 9691, 'p', 2669], [2089, 5875, 2865, 'l', 4937, 'l', '4621', '507', '5189', 'q', 'k', '2185', '7731', 'm', '661', '4053', '4621', '8393', '5271', 'B', 'Q', 'q', 'C', 'e', 'A', 'i', 7783, 989]
Output:
l, 4621, 507, 5189, q, k, 2185, 7731, m, 661, 4053, 4621, 8393, 5271