1105

Problem ID: 1105

See also: UVa 11679, br.SPOJ SUBPRIME