There were some chestnuts under a chestnut tree. Piotr took 1/9 of them and Staś took 46. Together they had 1/3 of all the chestnuts. How many chestnuts were left under the tree?