program main
    implicit none
    integer::i,j,k
    integer:: n,m
    integer(8):: dp(10**14)
    integer(8),allocatable:: a(:)

    read*, n,m
    allocate(a(n))
    read*, a(1:n)
    ! allocate(ndp(sum(a)))
    dp = 100

    

    
end program