What subway line do you take from Penn Station NYC to 520 eighth avenue?

You don't have to take the subway; it's 2 blocks. Penn Station is at 34th Street between 8th and 7th Avenues, and 520 8th Avenue is between 36th and 37th Streets.