def bubble_sort():
    f = open("input", 'r')
    nums = f.readlines()
    nums = [int(i) for i in nums]
    n = len(nums)
    for i in range(n):
        for j in range(0,n-i-1):
            if nums[j]>nums[j+1]:
                nums[j+1], nums[j] = nums[j], nums[j+1]

    return nums

if __name__=='__main__':
    print(bubble_sort())




e1e08c1f889719ab320185aa8a240706d8a487c8
<mask token>

def bubble_sort():
    f = open('input', 'r')
    nums = f.readlines()
    nums = [int(i) for i in nums]
    n = len(nums)
    for i in range(n):
        for j in range(0, n - i - 1):
            if nums[j] > nums[j + 1]:
                nums[j + 1], nums[j] = nums[j], nums[j + 1]
    return nums


<mask token>

def bubble_sort():
    f = open('input', 'r')
    nums = f.readlines()
    nums = [int(i) for i in nums]
    n = len(nums)
    for i in range(n):
        for j in range(0, n - i - 1):
            if nums[j] > nums[j + 1]:
                nums[j + 1], nums[j] = nums[j], nums[j + 1]
    return nums


if __name__ == '__main__':
    print(bubble_sort())

def bubble_sort():
    f = open("input", 'r')
    nums = f.readlines()
    nums = [int(i) for i in nums]
    n = len(nums)
    for i in range(n):
        for j in range(0,n-i-1):
            if nums[j]>nums[j+1]:
                nums[j+1], nums[j] = nums[j], nums[j+1]

    return nums

if __name__=='__main__':
    print(bubble_sort())



