summaryrefslogtreecommitdiff
path: root/progs/a266.py
blob: 57122843f355fef4de623ed44be0a3ffa5c112e3 (plain)
1
2
3
4
5
6
7
8
def min_Num(arr,n):  
    odd = 0
    for i in range(n): 
        if (arr[i] % 2): 
            odd += 1 
    if (odd % 2): 
        return 1
    return 2