A 1000-N crate resting on a surface is connected to a 500-N block through a frictionless pulley . Friction between the crate and surface is enough to keep the system at rest. What is the tension and friction in newtons?