#include <iostream>
using namespace std;
int main() {
double x, S=0;
while (cin >> x)
{
S++;
}
cout << S;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cglkb3VibGUgeCwgUz0wOwoJd2hpbGUgKGNpbiA+PiB4KSAKCXsKCSAgIFMrKzsKCX0KCWNvdXQgPDwgUzsKCXJldHVybiAwOwp9