Well, you could put both of these subnets under a single interface, one as a secondary address.
ip address 18.104.22.168 255.255.255.224
ip address 22.214.171.124 255.255.255.240 secondary
This will allow you to use addresses from both subnets, but you will loose couple IP's and will need
to manage the host assignments properly.
There is no way here to just assign a one subnet mask for both networks, and end up with a merged subnet. You loose 3 addresses all together, one by having second IP assigned to the same interface as well as loosing 2 extra IP's on the network/broadcast addresses. On top of that you might need to enable fast switching on the same interface for cummunication between both subnets to allow for better performance, but it's not required.
The best way to deal with this would be to request an address space of /26 type for example, if possible.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...