Let x represent the number of quarters John has
Nickels: x-6
Dimes: x+3
Total:x+x-6+x+3=63
3x-3=63
3x=66
x=<<22=22>>22 quarters
#### 22