there colony villain hole align row hole contain exactly villainEach colony arrangement express string length ith character string represent type villain ith hole Iron Man destroy colony colony arrangement villain certain type live half colony second half colonyHis assistant Jarvis special power it swap villain hole ie swap character stre operation number timesNow Iron Man ask Jarvis q question in question give Jarvis number x y Jarvis tell Iron Man number distinct colony arrangement create original power villain have type originally live xth hole yth hole live half Iron Man destroy colony arrangementtwo colony arrangement consider different exist hole different type villain present hole arrangement