In a market tomatoes were arranged in piles of 21. A seller sold 58 such piles. How many tomatoes did he sell?