As you were holding the block down and in place, the spring exerted an upward force that balanced the downward push by your hand and its own weight. So this restoring force has a magnitude of R such that
R - 50 N - (3 kg) g = 0 => R = 79.4 N
As soon as you remove your hand, the block has acceleration a such that, by Newton's second law,
R - (3 kg) g = (3 kg) a => a = (79.4 N - (3 kg) g) / (3 kg) ≈ 16.7 m/s^2
pointing upward.