A farmer has 1235 trees to be planted on a rectangular parcel of land. If there are 24 trees planted in each row and each row must be complete before it is planted, how many trees will be left over after planting?