SSC CGL 25 Jul 2023 Shift 1 — Question 71 (Arithmetic)

Medium2023
Out of the total toffees, 1/10 are wasted. 35% of the rest are given to S and 1/8 of the total are given to N. If the toffees with N are 10 more than the wasted toffees, then how many toffees were given to S?