AIZU 2348 Testing Circuits