// Arup Guha
// 3/25/2013
// Solution to FHSPS Playoff Problem Five

import java.util.*;

public class five {

	public static void main(String[] args) {

		Scanner stdin = new Scanner(System.in);
		int numCases = stdin.nextInt();

		// Go through each case and output 5 times the input.
		for (int loop=0; loop<numCases; loop++) {
			int tickets = stdin.nextInt();
			System.out.println(5*tickets);
		}
	}
}