UVa 247
for cf 253