Question

Write a function that checks whether given number is present in the given sorted list of numbers?

Login to Submit

Examples

Input: [1, 5, 10, 23, 50] 23
Output: true

Input: [1, 5, 10, 23, 50] 25
Output: false