triquery, condition still incomplete, running for basic cases
Working fine but time limit exceeds