#include <iostream>
using namespace std;
class fraction
{
fraction(int initNumerator, int initDenominator);
fraction();
int numerator;
int denominator;
};
// Constructors
fraction::fraction(){
numerator = 0;
denominator = 1;
}
fraction::fraction(int initNumerator, int initDenominator){
if(initDenominator == 0){
std::cout<<"Denominator can not be zero"<<std::endl;
exit(0);
}
numerator = initNumerator;
denominator = initDenominator;
}
int main()
{
return 0;
}
CiNpbmNsdWRlIDxpb3N0cmVhbT4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCgpjbGFzcyBmcmFjdGlvbgp7CiAgICBmcmFjdGlvbihpbnQgaW5pdE51bWVyYXRvciwgaW50IGluaXREZW5vbWluYXRvcik7CiAgICBmcmFjdGlvbigpOwogICAgaW50IG51bWVyYXRvcjsKICAgIGludCBkZW5vbWluYXRvcjsKfTsKCi8vIENvbnN0cnVjdG9ycwpmcmFjdGlvbjo6ZnJhY3Rpb24oKXsKbnVtZXJhdG9yID0gMDsKZGVub21pbmF0b3IgPSAxOwp9CgpmcmFjdGlvbjo6ZnJhY3Rpb24oaW50IGluaXROdW1lcmF0b3IsIGludCBpbml0RGVub21pbmF0b3IpewppZihpbml0RGVub21pbmF0b3IgPT0gMCl7CnN0ZDo6Y291dDw8IkRlbm9taW5hdG9yIGNhbiBub3QgYmUgemVybyI8PHN0ZDo6ZW5kbDsKZXhpdCgwKTsKfQpudW1lcmF0b3IgPSBpbml0TnVtZXJhdG9yOwpkZW5vbWluYXRvciA9IGluaXREZW5vbWluYXRvcjsKfQoKaW50IG1haW4oKQp7CiAgICByZXR1cm4gMDsKICAgIAp9