A simple way to reconstruct the Wigner function