Tasneem brings some sweets to school on her birthday. In the bag, there are chocolates and toffees. The ratio of chocolates to toffees is 5:3. If there are 40 sweets, how many are chocolates?​