import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static int howManyGames(int p, int d, int m, int s) { if(p>s) return 0; int count=0; while(s>0){ s-=p; if(p-d