Inverse problems on the parity of meromorphic functions