program resistors_in_Parallel
    implicit none
    real(8),allocatable:: a(:)
    integer(4):: n
    read*, n
    allocate(a(n))
    read*, a(:)

    print*, product(a)/sum(a)
end program resistors_in_Parallel