Question

Write a function that returns a list of common numbers among the given two lists?

Login to Submit

Examples

Input:  [1, 2, 3] [1, 3, 5]
Output: [1, 3]

Input: [3, 5, 8] [5, 12, 23]
Output: [5]

Input: [1, 2, 3] [4, 5, 6]
Output: []

Note: The output list should have all numbers in ascending order