Homemade Chinese bracket shagging

parse took 0.34771704673767
mysql: 27 queries took 0.2224485874176