Question

Write a function that checks whether any two number in the list sums to 10?

Login to Submit

Examples

Input: [5, 6, 7, 8]
Output: true
Reason: 5 and 5 sums to 10

Input: [10, 12, 13]
Output: false
Reason: no two number sums to 10