#include using namespace std; int main() { int N, A, B, c=0; cin >> N >> A >> B; for(int i = 1; ii%B){ c++; } } cout << c << endl; }