2C Subnet mask of Middle Network

Would the subnet mask be 255.255.254.0 because it only needs a single bit to create the two subnets or would be 255.0.0.0 since the middle sets of bits are all zero?

Thanks!