реализовать данную программу без использования модуля numpy import numpy as np def max_blocks(n, numbers): sorted_indices = np.argsort(numbers) blocks = 1 next_block_start = 1 for idx in sorted_indices: if idx >= next_block_start: blocks += 1 next_block_start = idx + 1 return blocks n = int(input()) numbers = list(map(int, input().split())) result = max_blocks(n, numbers) print(result)