Please Create and Use ONE Thread for Each Problem