For this Question: Given a binary array A[] of size N. The task is to arrange an array in increasing order.
(O(N) time complexity solution)Every test case contains two lines, first line contains an integer N (size of array) and second line contains space separated elements of array.

1 <= N <= 20
0 <= A[i] <= 1Print a single line containing space separated elements of sorted arrays.Input:
5
1 0 1 1 0

Output:
0 0 1 1 1, I have written this Solution Code: n = int(input())
l = list(map(int, input().split()))
l = sorted(l)
for i in l:
    print(i, end=" "), In this Programming Language: Python, Now tell me if this Code is compilable or not?