For this Question: You are given an array A of size N, and you are also given a sum. You need to find if two numbers in A exists such that their sum is equal to the given sum. If yes, print 1, else print 0.The first line contains N denoting the size of the array A and target sum. The second line contains N elements of the array. The third line contains element sum.

Constraints:
1 <= N <= 100000
1 <= A[i] <= 1000000Print 1, if there is an occurrence of the sum, else print 0.Sample Input
10 14
1 2 3 4 5 6 7 8 9 10

Sample Output
1

Explanation 
10 + 4 = 14,  so pair exists

Sample Input
5 9
1 2 3 4 5 

Sample Output 
1
, I have written this Solution Code: st = set()

n, s = map(int, input().split())

l = list(map(int, input().split()))

stt = set(l)
found = False
for i in l:
    if s - i in stt:
        print(1)
        found = True
        break
if not found:
    print(0), In this Programming Language: Python, Now tell me if this Code is compilable or not?