Kaden and John had some marbles. John gave away 3/5 as many marbles as Kaden and was left with 4 fewer marbles than the marbles he gave away. Kaden had 2/5 as many marbles left as John. The difference between the number of marbles they had in the end was 21. How many marbles did Kaden have at first?