UVa 10127: Accepted
UVa 10162: Accepted
UVa 10195: Accepted
UVa 10128: Accepted