import java.util.*; public class Main { static int N; static int T; static int[] a; static boolean[][] dp; static void dfs(int now,int sum,ArrayList result ){ if(now==N-1){ if(sum==T){ for(char g:result){ System.out.print(g); } System.exit(0); } return; } if(sum>=T) return; if(dp[now][sum]) return; result.add('+'); dfs(now+1,sum+a[now+1],result); dp[now][sum] =true; result.remove(result.size()-1); result.add('*'); dfs(now+1,sum*a[now+1],result); dp[now][sum]=true; result.remove(result.size()-1); } public static void main(String[] args) { Scanner sc = new Scanner(System.in); N = sc.nextInt(); T = sc.nextInt(); a = new int[N]; for(int i=0;i()); } }