Solves gate 2

Europris