#!/bin/python3 import sys def howManyGames(p, d, m, s): total=0 count=0 while total<=s: total=total+p count+=1 p=p-d if p