#!/usr/local/bin/python2 print next(i for i in reversed([2,2,3]) if i == 2)