using namespace std;
#include <iostream>
#include <fstream>
#include <vector>

bool is_possible(const int a, const int b, const int c){
	return !(((a+b <= c) || (a+c <= b) || (b+c <= a)));
}

int main(){
	unsigned int possible = 0;
	ifstream infile;
	infile.open("input", ios::in);
	int read[3];
	vector<int> v(9);


	unsigned int collectedCounter = 0;
	while(infile >> read[0] >> read[1] >> read[2]){
		if(collectedCounter != 3){
			for(int j=0; j<3; j++){
				v[j*3 + collectedCounter] = read[j];
			}
			collectedCounter++;
		}
		if(collectedCounter == 3) {
			for(int i=0; i<3; i++){
				possible += is_possible(v[3*i], v[3*i+1], v[3*i+2]);
			}
			collectedCounter = 0;
		}
	}
	cout << "Possible: " << possible;

	infile.close();

	return 0;
}
