def closest_number():
    int arr = [ ]  
    int num
    arr.sort() 

    target_number = i  

    for i in range(arr):
        if i = target_number:
            print(i)
        else 
            i != target_number

    print("Closest value:", closest)