The young people took a train from Llanelli to Swansea but police who had been monitoring social media were waiting for them