#include <bits/stdc++.h>
using namespace std;
#define N 1000010
int a[N],n,m,k,v[N],u[N],w[N],c[100];
int main(){
	freopen ("road.in","r",stdin);
	freopen ("road.out","w",stdout);
	cin>>n>>m>>k;
	for (int i=1;i<=m;i++){
		cin>>u[i]>>v[i]>>w[i];
	}
	for (int i=1;i<=k;i++){
		cin>>c[i];
	}
	return 0;
} 


















































































//bgzkyxwswdhj
