In a factory, Anton and Joey make the same item. One day Anton made 39 more than three times what Joey made, and together they made 79. How many items did joey produce in that day?